
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
webpack-config-lusk
Advanced tools
This lib is an opinionated webpack config that relies on conventions over configuration. Intended for use in Lusk apps.
npm install --save webpack-config-lusk
In your webpack.config.js
:
const luskConfig = require("webpack-config-lusk");
module.exports = luskConfig({ minify: true });
The config has four options:
false
)Enables production optimizations. Usually, you'd want to set this value dynamically based on something like process.env.MINIFY
.
[]
)Allows for requiring additional dependencies into the bundle at build time. You might want to use this for stuff like i18n locale data or polyfills.
module.exports = luskConfig({
extraEntries: config.SUPPORTED_LANGUAGES.map(
lang => `intl-messageformat/dist/locale-data/${lang}`
),
})
See the documentation for more info: https://webpack.js.org/concepts/entry-points/#single-entry-shorthand-syntax
"client"
)Name of the folder where the client source code lives. Only supply this if you need to support a legacy app.
"static"
)Name of the folder where the final bundle will be written to. Only supply this if you need to support a legacy app.
FAQs
Webpack configs used at Lusk
The npm package webpack-config-lusk receives a total of 0 weekly downloads. As such, webpack-config-lusk popularity was classified as not popular.
We found that webpack-config-lusk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.