@cocojs/bundle-rollup 0.0.1-beta.10 → 0.0.1-beta.11
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/dist/index.cjs.js +8 -1
- package/dist/index.esm.js +8 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -253,7 +253,14 @@ function customBuild() {
|
|
|
253
253
|
runtime: 'automatic',
|
|
254
254
|
importSource: '@cocojs/mvc'
|
|
255
255
|
}]]
|
|
256
|
-
})])
|
|
256
|
+
})]),
|
|
257
|
+
external: [
|
|
258
|
+
/**
|
|
259
|
+
* 当打包成库时
|
|
260
|
+
* @cocojs/mvc是作为peer dependency
|
|
261
|
+
* @cocojs/mvc及其打头的依赖都作为外部依赖
|
|
262
|
+
*/
|
|
263
|
+
/^@cocojs\/mvc(\/.*)?$/]
|
|
257
264
|
});
|
|
258
265
|
case 1:
|
|
259
266
|
rollupBuild = _context.v;
|
package/dist/index.esm.js
CHANGED
|
@@ -251,7 +251,14 @@ function customBuild() {
|
|
|
251
251
|
runtime: 'automatic',
|
|
252
252
|
importSource: '@cocojs/mvc'
|
|
253
253
|
}]]
|
|
254
|
-
})])
|
|
254
|
+
})]),
|
|
255
|
+
external: [
|
|
256
|
+
/**
|
|
257
|
+
* 当打包成库时
|
|
258
|
+
* @cocojs/mvc是作为peer dependency
|
|
259
|
+
* @cocojs/mvc及其打头的依赖都作为外部依赖
|
|
260
|
+
*/
|
|
261
|
+
/^@cocojs\/mvc(\/.*)?$/]
|
|
255
262
|
});
|
|
256
263
|
case 1:
|
|
257
264
|
rollupBuild = _context.v;
|