mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(webpack) umd -> var: load editor before console
This commit is contained in:
parent
eaa58a5ba0
commit
0b6897c1ed
1 changed files with 2 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ const plugins = clean([
|
|||
filename: 'cloudcmd.js',
|
||||
}),
|
||||
]);
|
||||
|
||||
const loaders = clean([
|
||||
!isDev && {
|
||||
test: /\.js$/,
|
||||
|
|
@ -60,7 +61,7 @@ module.exports = {
|
|||
filename: '[name].js',
|
||||
path: isDev ? distDev : dist,
|
||||
pathinfo: isDev,
|
||||
libraryTarget: 'umd',
|
||||
libraryTarget: 'var',
|
||||
devtoolModuleFilenameTemplate,
|
||||
},
|
||||
plugins,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue