unify-external-plugin-platform 0.0.2-22 → 0.0.2-23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unify-external-plugin-platform",
3
- "version": "0.0.2-22",
3
+ "version": "0.0.2-23",
4
4
  "description": "统一对外插件平台",
5
5
  "main": "./dist/external-plugin.umd.min.js",
6
6
  "author": "Young",
package/vue.config.js CHANGED
@@ -18,18 +18,18 @@ const externalsConfig = { // 忽略不进行处理的文件 这里 不对 Vue进
18
18
 
19
19
 
20
20
  module.exports = {
21
- // configureWebpack: {
22
- // resolve: {
23
- // extensions: ['.js', '.ts', '.vue', '.json'],
24
- // alias: {
25
- // main: path.resolve(__dirname, '../src'),
26
- // packages: path.resolve(__dirname, '../packages'),
27
- // examples: path.resolve(__dirname, '../examples'),
28
- // },
29
- // modules: ['node_modules']
30
- // },
31
- // // externals: process.env.NODE_ENV === 'development' ? {} : {...externalsConfig},
32
- // }
21
+ configureWebpack: {
22
+ resolve: {
23
+ extensions: ['.js', '.ts', '.vue', '.json'],
24
+ alias: {
25
+ main: path.resolve(__dirname, '../src'),
26
+ packages: path.resolve(__dirname, '../packages'),
27
+ examples: path.resolve(__dirname, '../examples'),
28
+ },
29
+ modules: ['node_modules']
30
+ },
31
+ externals: process.env.NODE_ENV === 'development' ? {} : {...externalsConfig},
32
+ }
33
33
 
34
34
  // transpileDependencies: true
35
35
  }