webpack-configs
webpack configs for build, start and library.
Use
Step 0 install
npm install @viskit/webpack-configs -D
Step 1 package.json scripts
"scripts": {
"start": "webpack serve --config node_modules/@viskit/webpack-configs/start.config.js",
"build": "webpack --config node_modules/@viskit/webpack-configs/build.config.js",
"build:lib": "webpack --config node_modules/@viskit/webpack-configs/lib.config.js"
}
tsconfig.json
Step 2 create src|start dir {
"extends": "@viskit/webpack-configs/tsconfig.base.json"
}
types.d.ts
Step 3 create src|start dir declare module "*.css";
LICENSE
MIT