0.0.5 • Published 2 years ago

@viskit/webpack-configs v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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"
}

Step 2 create src|start dir tsconfig.json

{
  "extends": "@viskit/webpack-configs/tsconfig.base.json"
}

Step 3 create src|start dir types.d.ts

declare module "*.css";

LICENSE

MIT