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

Commit be7d04f

Browse files
committed
update deps
1 parent 1a39fef commit be7d04f

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,29 +52,29 @@
5252
},
5353
"homepage": "https://github.com/NewFuture/miniprogram-build#readme",
5454
"dependencies": {
55-
"ansi-colors": "^4.1.0",
55+
"ansi-colors": "^4.1.1",
5656
"gulp": "^4.0.2",
5757
"gulp-better-rollup": "^4.0.1",
5858
"gulp-rename": "^2.0.0",
5959
"gulp-sourcemaps": "^2.6.5",
6060
"gulp-typescript": "^5.0.1",
61-
"imagemin": "^7.0.0",
62-
"json5": "^2.1.1",
63-
"mime": "^2.4.4",
64-
"rimraf": "^3.0.0",
65-
"rollup": "^2.0.0",
66-
"sass": "^1.23.1",
67-
"through2": "^3.0.1",
68-
"ts-transform-paths": "^2.0.0",
61+
"imagemin": "^7.0.1",
62+
"json5": "^2.1.3",
63+
"mime": "^2.4.6",
64+
"rimraf": "^3.0.2",
65+
"rollup": "^2.26.11",
66+
"sass": "^1.26.10",
67+
"through2": "^3.0.2",
68+
"ts-transform-paths": "^2.0.1",
6969
"wechat-devtool": "^2.0.0",
7070
"yargs": "~15.3.1"
7171
},
7272
"optionalDependencies": {
73-
"@rollup/plugin-json": "^4.0.0",
74-
"@rollup/plugin-replace": "^2.2.0",
73+
"@rollup/plugin-commonjs": "^15.0.0",
74+
"@rollup/plugin-json": "^4.1.0",
75+
"@rollup/plugin-node-resolve": "^9.0.0",
76+
"@rollup/plugin-replace": "^2.3.0",
7577
"@rollup/plugin-typescript": "^2.1.0",
76-
"@rollup/plugin-commonjs": "^14.0.0",
77-
"@rollup/plugin-node-resolve": "^8.4.0",
7878
"imagemin-gifsicle": "^7.0.0",
7979
"imagemin-jpegtran": "^7.0.0",
8080
"imagemin-optipng": "^8.0.0",
@@ -87,8 +87,8 @@
8787
"devDependencies": {
8888
"@types/gulp": "^4.0.6",
8989
"@types/rimraf": "^3.0.0",
90-
"conventional-changelog-cli": "^2.0.25",
90+
"conventional-changelog-cli": "^2.1.0",
9191
"tslib": "^2.0.0",
92-
"typescript": "^3.6.4"
92+
"typescript": "^4.0.2"
9393
}
9494
}

src/compiler/compile-wxts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const wxtsConfig = {
2020
module: "ES6",
2121
downlevelIteration: true, //Provide full support for iterables in for..of, spread and destructuring when targeting ES5 or ES3.
2222
isolatedModules: true, //Transpile each file as a separate module (similar to “ts.transpileModule”).
23-
noLib: true,
23+
// noLib: true,
2424
lib: ["es5"],
2525
};
2626

src/lib/rollup-plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = function loadPlugins(name) {
4747
const rollupNodeResolve = require("@rollup/plugin-node-resolve");
4848
PLUGINS.push(
4949
//@ts-ignore
50-
rollupNodeResolve({
50+
rollupNodeResolve.nodeResolve ({
5151
// modulesOnly: true,
5252
}),
5353
);

0 commit comments

Comments
 (0)