@dramaorg/quasi-perspiciatis

3.4.73 • Public • Published

Description

Collection of Webpack helper functions, rules, loaders, constants, etc.

Usage

npm install @dramaorg/quasi-perspiciatis

Each function can be found in the source code. Only the main functions are found below:

const WebpackHelpers = require('@dramaorg/quasi-perspiciatis')

// Create basic/common config
module.exports = WebpackHelpers.Recipes.common(__dirname)

// Create basic/common rules
const rules = WebpackHelpers.Rules.common()

Help

Create config:

// webpack.config.js
const WebpackHelpers = require('@dramaorg/quasi-perspiciatis')
module.exports = WebpackHelpers.Recipes.common(__dirname)

Production build script:

{
  "scripts": {
    "build-production": "cross-env NODE_ENV=production webpack --mode production"
  }
}

Development build script:

{
  "scripts": {
    "build-development": "cross-env NODE_ENV=development webpack"
  }
}

Test

Testing is done using npm run test. Only basic testing is done now. Please feel free to request improved testing.

Notes

Feedback

Feel free to contact about feedback. If you have any helpers you would like to add, please get in contact.

Readme

Keywords

Package Sidebar

Install

npm i @dramaorg/quasi-perspiciatis

Weekly Downloads

2

Version

3.4.73

License

MIT

Unpacked Size

149 kB

Total Files

400

Last publish

Collaborators

  • vanthuanbt26