This project is deprecated.
Most of the features available here can be achieved with modern Webpack configuration properties.
Webpack config for my projects.
Features:
- no AMD support
- directory and module resolving closer to CommonJS standard
For some examples of common use cases, see wiki.
npm install webpack webpack-config-niksy --save
Add this config to your webpack.config.js
:
const config = require('webpack-config-niksy');
module.exports = config({
// Your config
});
Config module exposes additional static methods:
Returns: Object
Merges custom config with default one and returns new config.
Type: Object
Custom config.
Returns: Object
Merges two configs and returns new config. Useful for advanced use cases.
Type: Object
Type: Object
Returns: Promise
Resolves browser
entries from package.json file. Useful for getting consistent values for alias
option and import/exports loader.
Type: String
Default: process.cwd
Path from where to start looking for package.json file.
MIT © Ivan Nikolić