Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
NewFuture committed Sep 11, 2020
1 parent 1a39fef commit be7d04f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,29 +52,29 @@
},
"homepage": "https://github.com/NewFuture/miniprogram-build#readme",
"dependencies": {
"ansi-colors": "^4.1.0",
"ansi-colors": "^4.1.1",
"gulp": "^4.0.2",
"gulp-better-rollup": "^4.0.1",
"gulp-rename": "^2.0.0",
"gulp-sourcemaps": "^2.6.5",
"gulp-typescript": "^5.0.1",
"imagemin": "^7.0.0",
"json5": "^2.1.1",
"mime": "^2.4.4",
"rimraf": "^3.0.0",
"rollup": "^2.0.0",
"sass": "^1.23.1",
"through2": "^3.0.1",
"ts-transform-paths": "^2.0.0",
"imagemin": "^7.0.1",
"json5": "^2.1.3",
"mime": "^2.4.6",
"rimraf": "^3.0.2",
"rollup": "^2.26.11",
"sass": "^1.26.10",
"through2": "^3.0.2",
"ts-transform-paths": "^2.0.1",
"wechat-devtool": "^2.0.0",
"yargs": "~15.3.1"
},
"optionalDependencies": {
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-replace": "^2.2.0",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.0",
"@rollup/plugin-typescript": "^2.1.0",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"imagemin-gifsicle": "^7.0.0",
"imagemin-jpegtran": "^7.0.0",
"imagemin-optipng": "^8.0.0",
Expand All @@ -87,8 +87,8 @@
"devDependencies": {
"@types/gulp": "^4.0.6",
"@types/rimraf": "^3.0.0",
"conventional-changelog-cli": "^2.0.25",
"conventional-changelog-cli": "^2.1.0",
"tslib": "^2.0.0",
"typescript": "^3.6.4"
"typescript": "^4.0.2"
}
}
2 changes: 1 addition & 1 deletion src/compiler/compile-wxts.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const wxtsConfig = {
module: "ES6",
downlevelIteration: true, //Provide full support for iterables in for..of, spread and destructuring when targeting ES5 or ES3.
isolatedModules: true, //Transpile each file as a separate module (similar to “ts.transpileModule”).
noLib: true,
// noLib: true,
lib: ["es5"],
};

Expand Down
2 changes: 1 addition & 1 deletion src/lib/rollup-plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = function loadPlugins(name) {
const rollupNodeResolve = require("@rollup/plugin-node-resolve");
PLUGINS.push(
//@ts-ignore
rollupNodeResolve({
rollupNodeResolve.nodeResolve ({
// modulesOnly: true,
}),
);
Expand Down

0 comments on commit be7d04f

Please sign in to comment.