Skip to content

Commit 484f480

Browse files
authored
fix: specify asset filenames as editor.* (#309)
1 parent d5d5117 commit 484f480

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

webpack.config.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ const path = require( 'path' );
1212
/**
1313
* Internal variables
1414
*/
15-
const entry = [ 'regenerator-runtime/runtime', path.join( __dirname, 'src', 'editor' ) ];
15+
const editor = [ 'regenerator-runtime/runtime', path.join( __dirname, 'src', 'editor' ) ];
1616

1717
const webpackConfig = getBaseWebpackConfig(
1818
{ WP: true },
1919
{
20-
entry,
20+
entry: {
21+
editor,
22+
},
2123
'output-path': path.join( __dirname, 'dist' ),
2224
}
2325
);

0 commit comments

Comments
 (0)