Skip to content

Commit

Permalink
feat(webpack-runner): 将taro-h5移出dll
Browse files Browse the repository at this point in the history
  • Loading branch information
Littly committed Mar 11, 2019
1 parent e91c2c5 commit 9efda3c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/taro-components/src/components/swiper/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'weui'
import Nerv from 'nervjs'
import classNames from 'classnames'
import Swipers from 'swiper/dist/js/swiper.min.js'
import Swipers from 'swiper'

import 'swiper/dist/css/swiper.min.css'
import './style/index.scss'
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
"@types/lodash": "4.14.117",
"@types/webpack": "4.4.18",
"jest": "23.6.0",
"lodash": "4.17.11",
"nervjs": "1.3.0",
"rollup": "1.1.0",
"rollup-plugin-babel": "4.0.3",
"rollup-plugin-commonjs": "9.2.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-typescript": "1.0.0",
"ts-jest": "23.10.4",
"tslib": "1.9.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/taro-router/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default {
file: 'dist/index.js',
format: 'cjs',
sourcemap: false,
exports: 'auto'
exports: 'named'
}, {
file: 'dist/index.esm.js',
format: 'esm',
sourcemap: false,
exports: 'auto'
exports: 'named'
}],
plugins: [
resolve({
Expand Down
1 change: 0 additions & 1 deletion packages/taro-webpack-runner/src/config/dll.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default function (config: BuildConfig): any {
dllEntry = {
lib: [
'nervjs',
'@tarojs/taro-h5',
'@tarojs/router'
]
},
Expand Down

0 comments on commit 9efda3c

Please sign in to comment.