mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Revert "Fix "Multiple assets emit to the same filename 0.app.js" error"
This reverts commit 5d5e00dbb2.
This commit is contained in:
parent
abaa22c84e
commit
a47ca0bf3e
1 changed files with 0 additions and 3 deletions
|
|
@ -1,5 +1,3 @@
|
||||||
const path = require('path');
|
|
||||||
|
|
||||||
class AddWorkerEntryPointPlugin {
|
class AddWorkerEntryPointPlugin {
|
||||||
constructor(webpack, { id, entry, output }) {
|
constructor(webpack, { id, entry, output }) {
|
||||||
this.webpack = webpack;
|
this.webpack = webpack;
|
||||||
|
|
@ -13,7 +11,6 @@ class AddWorkerEntryPointPlugin {
|
||||||
const outputOptions = {
|
const outputOptions = {
|
||||||
filename: output,
|
filename: output,
|
||||||
publicPath: compilation.outputOptions.publicPath,
|
publicPath: compilation.outputOptions.publicPath,
|
||||||
chunkFilename: `${path.basename(output)}.[id].js`,
|
|
||||||
// HACK: globalObject is necessary to fix https://github.com/webpack/webpack/issues/6642
|
// HACK: globalObject is necessary to fix https://github.com/webpack/webpack/issues/6642
|
||||||
globalObject: 'this',
|
globalObject: 'this',
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue