Skip to content

Commit

Permalink
feat(ci): add taro-h5 test
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode committed Dec 15, 2021
1 parent 34aab42 commit e93d680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"release:lerna": "lerna version --exact --no-git-tag-version --force-publish",
"release:beta": "lerna publish --force-publish=* --exact --skip-temp-tag --preid=beta --npm-tag=beta",
"release": "npm-run-all build release:lerna && npm run changelog && node ./build/docs-version.js",
"test": "lerna run --scope @tarojs/cli --scope babel-preset-taro --scope @tarojs/components --scope @tarojs/react --scope @tarojs/webpack-runner --scope @tarojs/mini-runner --scope @tarojs/runtime --scope @tarojs/taro-rn --scope @tarojs/components-rn test:ci",
"test": "lerna run --scope @tarojs/cli --scope babel-preset-taro --scope @tarojs/components --scope @tarojs/taro-h5 --scope @tarojs/react --scope @tarojs/webpack-runner --scope @tarojs/mini-runner --scope @tarojs/runtime --scope @tarojs/taro-rn --scope @tarojs/components-rn test:ci",
"version": "npm-run-all version:lerna version:git version:changelog",
"version:lerna": "lerna version ${npm_config_lerna_version} --exact --no-git-tag-version --force-publish --yes",
"version:git": "git add . && git commit -m \"chore(release): publish ${npm_config_lerna_version}\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-h5/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const baseConfig = {
}),
resolve({
preferBuiltins: false,
mainFields: ['module', 'js-next', 'main']
mainFields: ['main:h5', 'browser', 'module', 'jsnext:main', 'main']
}),
postcss(),
babel({
Expand Down

0 comments on commit e93d680

Please sign in to comment.