From a37ec6ff42bd02c91ede356f1fd13d6648ca2c93 Mon Sep 17 00:00:00 2001 From: Vincent Fretin Date: Wed, 29 May 2024 18:10:03 +0200 Subject: [PATCH] Set publicPath to /dist in webpack.config.js for development build to be in memory --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index bde662b69..186ce8796 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -22,6 +22,7 @@ module.exports = { editor: { import: './src/editor/index.js', filename: '3dstreet-editor.js' } }, output: { + publicPath: '/dist/', path: path.join(__dirname, 'dist'), libraryTarget: 'umd' },