Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dramaorg/quasi-perspiciatis

Package Overview
Dependencies
Maintainers
0
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dramaorg/quasi-perspiciatis

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

  • 2.2.37
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

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

  • "-p changed to --mode production": Webpack when run in terminal it gives an "error error: unknown option '-p'"
  • Changelog generation:

Feedback

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

Keywords

FAQs

Package last updated on 04 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc