We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e41804b commit 265e6a7Copy full SHA for 265e6a7
index.js
@@ -117,6 +117,12 @@ module.exports = function(source, map) {
117
options.preprocess.filename = options.filename;
118
119
preprocess(source, options.preprocess).then(processed => {
120
+ if (processed.dependencies && this.addDependency) {
121
+ for (let dependency of processed.dependencies) {
122
+ this.addDependency(dependency);
123
+ }
124
125
+
126
let { js, css } = normalize(compile(processed.toString(), options));
127
128
if (options.hotReload && !isProduction && !isServer) {
0 commit comments