Move js code into separate file to benefit from code analysis
This commit is contained in:
@@ -176,7 +176,7 @@ class ExampleBuilder {
|
||||
};
|
||||
|
||||
const indexSource = `var info = ${JSON.stringify(info)}`;
|
||||
compilation.assets['index.js'] = new RawSource(indexSource);
|
||||
compilation.assets['examples-info.js'] = new RawSource(indexSource);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user