mirror of
https://github.com/teoxoy/factorio-blueprint-editor.git
synced 2025-04-17 11:56:31 +02:00
change default /resources public path to /assets
This commit is contained in:
parent
3ed6840ed4
commit
c2ed10659a
@ -32,6 +32,9 @@ class Context {
|
|||||||
target: 'browser',
|
target: 'browser',
|
||||||
webIndex: { template: p('../src/index.html') },
|
webIndex: { template: p('../src/index.html') },
|
||||||
devServer: runServer && this.getServerConfig(),
|
devServer: runServer && this.getServerConfig(),
|
||||||
|
resources: {
|
||||||
|
resourcePublicRoot: '/assets',
|
||||||
|
},
|
||||||
plugins: [this.luaPlugin],
|
plugins: [this.luaPlugin],
|
||||||
cache: { root: this.paths.cache },
|
cache: { root: this.paths.cache },
|
||||||
hmr: { plugin: p('./hmr.ts') },
|
hmr: { plugin: p('./hmr.ts') },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user