mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
worker 地址只在本地预览的时候才生成
This commit is contained in:
parent
2c204845ad
commit
3b487434a6
@ -137,7 +137,7 @@ fis.hook('commonjs', {
|
||||
extList: ['.js', '.jsx', '.tsx', '.ts']
|
||||
});
|
||||
|
||||
fis.match('::package', {
|
||||
fis.media('dev').match('::package', {
|
||||
prepackager: fis.plugin('stand-alone-pack', {
|
||||
'/pkg/editor.worker.js': 'monaco-editor/esm/vs/editor/editor.worker.js',
|
||||
'/pkg/json.worker.js': 'monaco-editor/esm/vs/language/json/json.worker',
|
||||
|
Loading…
Reference in New Issue
Block a user