@viskit/webpack-configs

0.0.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @viskit/webpack-configs

Weekly Downloads

1

Version

0.0.5

License

MIT

Unpacked Size

10.1 kB

Total Files

29

Last publish

Collaborators

  • leogiese