Noncollinear Perpendicular Microcrystalline

    web-modules-build

    19.4.3 • Public • Published

    Web Modules Build

    Webpack

    // webpack.config.prod
    module.exports = require('web-modules-build/webpack/webpack.config.prod');
    // webpack.config.dev
    module.exports = require('web-modules-build/webpack/webpack.config.dev');

    Add to package.json:

    {
      "scripts": {
        "start": "rc-webpack-dev-server --config webpack.config.dev.js",
        "build:dev": "rc-webpack --config webpack.config.dev.js",
        "build": "rc-webpack --config webpack.config.prod.js"
      }
    }

    Babel

    // .babelrc.js
    module.exports = require('web-modules-build/src/babel/babelrc');

    Add to package.json:

    {
      "scripts": {
        "babel": "rc-babel src --no-babelrc --config-file './.babelrc.js' --out-dir lib --source-maps"
      }
    }

    Jest

    // jest.config.js
    module.exports = require('web-modules-build/src/jest/jest.config');
    

    Add to package.json:

    {
      "scripts": {
        "test": "rc-jest",
        "test:watch": "rc-jest --watch"
      }
    }

    Keywords

    none

    Install

    npm i web-modules-build

    DownloadsWeekly Downloads

    1

    Version

    19.4.3

    License

    ISC

    Unpacked Size

    32.5 kB

    Total Files

    25

    Last publish

    Collaborators

    • kirill.konshin