Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,7 @@ typings/
.next

# Editor directories and files
.idea
.idea

.cache
/dist
Binary file removed node_modules/ajv/lib/.DS_Store
Binary file not shown.
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,17 @@
"type": "git",
"url": "git@github.com:elfinFE/svg-man.git"
},
"dependencies": {
"del": "^3.0.0",
"gulp": "^4.0.0",
"devDependencies": {
"del": "^6.0.0",
"gulp": "^4.0.2",
"gulp-htmlmin": "^5.0.1",
"gulp-iconfont": "^10.0.2",
"gulp-rename": "^1.4.0",
"gulp-svgstore": "^7.0.1",
"gulp-template": "^5.0.0",
"through2": "^3.0.0",
"word-pinyin": "^0.1.8"
"word-pinyin": "^0.1.7"
},
"devDependencies": {},
"description": "将svg图标转化成iconfont",
"main": "gulpfile.js",
"scripts": {
Expand All @@ -31,5 +30,8 @@
"svg",
"iconfont"
],
"license": "ISC"
"license": "ISC",
"dependencies": {
"webpack": "^5.15.0"
}
}
10 changes: 10 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const path = require('path');

module.exports = {
entry: './gulpfile.js',
target: 'node',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist'),
},
};
Loading