任务一 webpack实现ts项目打包
parents
Showing
.gitignore
0 → 100644
README.md
0 → 100644
build/webpack.base.js
0 → 100644
build/webpack.dev.js
0 → 100644
build/webpack.prod.js
0 → 100644
package-lock.json
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
package.json
0 → 100644
{ | ||
"name": "init", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"dev": "webpack-dev-server -c build/webpack.dev.js", | ||
"build": "webpack -c build/webpack.prod.js", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"@babel/core": "^7.20.2", | ||
"@babel/preset-react": "^7.18.6", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"@types/react": "^18.0.25", | ||
"@types/react-dom": "^18.0.8", | ||
"babel-loader": "^9.1.0", | ||
"html-webpack-plugin": "^5.5.0", | ||
"webpack": "^5.75.0", | ||
"webpack-cli": "^4.10.0", | ||
"webpack-dev-server": "^4.11.1", | ||
"webpack-merge": "^5.8.0" | ||
}, | ||
"dependencies": { | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
} | ||
} |
public/index.html
0 → 100644
src/App.tsx
0 → 100644
src/hooks/useInclude.ts
0 → 100644
src/index.tsx
0 → 100644
tsconfig.json
0 → 100644
Please
register
or
sign in
to comment