diff --git a/webpack.config.js b/webpack.config.js index 6ae4dd9c6..1af214659 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -22,10 +22,10 @@ module.exports = { editor: { import: ['./src/editor/index.js'], filename: '3dstreet-editor.js' - } + }, // react-refresh doesn't work with multiple entry points so we use the production build of aframe-street-component.js in development, // you will need to run `npm run dist` to see your changes or uncomment temporarily the following line and run `npm start` again. - // core: { import: './src/index.js', filename: 'aframe-street-component.js' } + core: { import: './src/index.js', filename: 'aframe-street-component.js' } }, output: { publicPath: '/dist/',