Fix publicPath problem in legacy build

This commit is contained in:
Andreas Hocevar
2021-10-08 11:11:00 +02:00
parent d66f2f4091
commit 77ca0c2de5
+1
View File
@@ -48,6 +48,7 @@ export default {
}, },
output: { output: {
path: path.resolve('./build/legacy'), path: path.resolve('./build/legacy'),
publicPath: '',
filename: 'ol.js', filename: 'ol.js',
library: 'ol', library: 'ol',
libraryTarget: 'umd', libraryTarget: 'umd',