@rajzik/config-webpack
Reusable Webpack configs.
Last updated 3 days ago by silhan.jan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @rajzik/config-webpack 
SYNC missed versions from official npm registry.

Webpack Config

Provides Webpack dependencies and configuration. Primarily used in unison with the Lumos CLI.

Extending config

Create file in configs folder:

configs/babel.js

modules.exports = {
  plugins: [new webpack.NamedChunksPlugin()],
};

Settings

Main settings

export interface WebpackOptions {
  analyzeBundle?: boolean;
  buildFolder?: string;
  port?: string | number;
  parallel?: boolean | string | number;
  root?: string;
  react?: boolean;
  sourceMaps?: boolean;
  publicPath?: string;
  srcFolder: string;
  entryPoint?: string;
  aliasPattern?: string;
}

Default values

{
  analyzeBundle = false,
  buildFolder = 'build',
  port = 3000,
  react = false,
  sourceMaps = false,
  srcFolder = 'src',
  publicPath = '/',
  root = process.cwd(),
  aliasPattern = '~/*',
}

Options

  • analyzeBundle

    • Enable/Disable bundle analyze
  • buildFolder

    • Defines build folder
  • port

    • Defines port
  • react

    • Enable/Disable react usage
  • sourceMaps

    • Enable/Disable source map generation
  • srcFolder

    • Defines source code folder
  • entryPoint

    • Defines file which will be acting as entry point instead of index.html
  • publicPath

    • Defined path where to get scripts
    • useful values: '/', './'
  • parallel

    • Settings for terser plugin
    • fast AF boii
  • aliasPattern

    • Path alias pattern
    • Do not change unless you know what are you doing
    • Example:
    import MyModule from '~/MyModule';
    // this will resolve src/MyModule.[ts,js,tsx,jsx]
    // or src/MyModule/index.[ts,tsx,js,jsx]
    

CLI Options

  • --sourceMaps
    • Enable source map generation
  • --analyze
    • Enable bundle analyze
  • --parallel / --parallel=<number | string | boolean>
    • Enable/sets parallel configuration
  • --buildFolder=<string>
    • sets build folder
  • --entryPoint=<string>
    • sets entry point for build
    • Entry point is relative to srcFolder

Example:

lumos webpack --entryPoint=appEntry.tsx --sourceMaps --analyze --buildFolder=build

Beemo/webpack

Current Tags

  • 1.5.20-alpha.10                                ...           canary (3 months ago)
  • 3.0.20                                ...           latest (3 days ago)

176 Versions

  • 3.0.20                                ...           3 days ago
  • 3.0.19                                ...           6 days ago
  • 3.0.18                                ...           6 days ago
  • 3.0.17                                ...           7 days ago
  • 3.0.16                                ...           8 days ago
  • 3.0.15                                ...           10 days ago
  • 3.0.14                                ...           11 days ago
  • 3.0.13                                ...           18 days ago
  • 3.0.12                                ...           21 days ago
  • 3.0.11                                ...           25 days ago
  • 3.0.10                                ...           a month ago
  • 3.0.9                                ...           a month ago
  • 3.0.8                                ...           a month ago
  • 3.0.7                                ...           a month ago
  • 3.0.6                                ...           a month ago
  • 3.0.5                                ...           a month ago
  • 3.0.4                                ...           a month ago
  • 3.0.3                                ...           a month ago
  • 3.0.2                                ...           a month ago
  • 3.0.1                                ...           a month ago
  • 3.0.0                                ...           a month ago
  • 2.2.0                                ...           a month ago
  • 2.1.17                                ...           a month ago
  • 2.1.16                                ...           a month ago
  • 2.1.15                                ...           a month ago
  • 2.1.13                                ...           a month ago
  • 2.1.12                                ...           a month ago
  • 2.1.11                                ...           a month ago
  • 2.1.10                                ...           a month ago
  • 2.1.8                                ...           2 months ago
  • 2.1.7                                ...           2 months ago
  • 2.1.6                                ...           2 months ago
  • 2.1.5                                ...           2 months ago
  • 2.1.4                                ...           2 months ago
  • 2.1.3                                ...           2 months ago
  • 2.1.2                                ...           2 months ago
  • 2.1.1                                ...           2 months ago
  • 2.1.0                                ...           2 months ago
  • 2.0.2                                ...           2 months ago
  • 2.0.1                                ...           2 months ago
  • 2.0.0                                ...           2 months ago
  • 1.7.12                                ...           2 months ago
  • 1.7.11                                ...           2 months ago
  • 1.7.10                                ...           2 months ago
  • 1.7.9                                ...           2 months ago
  • 1.7.8                                ...           2 months ago
  • 1.7.7                                ...           2 months ago
  • 1.7.6                                ...           2 months ago
  • 1.7.5                                ...           2 months ago
  • 1.7.4                                ...           2 months ago
  • 1.7.3                                ...           2 months ago
  • 1.7.2                                ...           2 months ago
  • 1.7.1                                ...           2 months ago
  • 1.7.0                                ...           2 months ago
  • 1.6.1                                ...           2 months ago
  • 1.6.0                                ...           3 months ago
  • 1.5.20-alpha.10                                ...           3 months ago
  • 1.5.20-alpha.9                                ...           3 months ago
  • 1.5.20-alpha.6                                ...           3 months ago
  • 1.5.20-alpha.4                                ...           3 months ago
  • 1.5.20-alpha.1                                ...           3 months ago
  • 1.5.19-alpha.7                                ...           3 months ago
  • 1.5.19                                ...           3 months ago
  • 1.5.19-alpha.5                                ...           3 months ago
  • 1.5.19-alpha.0                                ...           3 months ago
  • 1.5.18                                ...           3 months ago
  • 1.5.18-alpha.3                                ...           3 months ago
  • 1.5.18-alpha.0                                ...           3 months ago
  • 1.5.17-alpha.1                                ...           3 months ago
  • 1.5.17                                ...           3 months ago
  • 1.5.17-alpha.0                                ...           3 months ago
  • 1.5.16                                ...           3 months ago
  • 1.5.16-alpha.4                                ...           3 months ago
  • 1.5.16-alpha.1                                ...           3 months ago
  • 1.5.16-alpha.0                                ...           3 months ago
  • 1.5.15                                ...           3 months ago
  • 1.5.15-alpha.0                                ...           3 months ago
  • 1.5.14                                ...           3 months ago
  • 1.5.14-alpha.0                                ...           3 months ago
  • 1.5.13-alpha.13                                ...           3 months ago
  • 1.5.13                                ...           3 months ago
  • 1.5.13-alpha.12                                ...           3 months ago
  • 1.5.13-alpha.9                                ...           3 months ago
  • 1.5.13-alpha.6                                ...           3 months ago
  • 1.5.13-alpha.3                                ...           3 months ago
  • 1.5.13-alpha.2                                ...           3 months ago
  • 1.5.13-alpha.0                                ...           3 months ago
  • 1.5.12                                ...           3 months ago
  • 1.5.12-alpha.2                                ...           3 months ago
  • 1.5.12-alpha.0                                ...           3 months ago
  • 1.5.11                                ...           3 months ago
  • 1.5.11-alpha.0                                ...           3 months ago
  • 1.5.10                                ...           3 months ago
  • 1.5.10-alpha.3                                ...           3 months ago
  • 1.5.9-alpha.1                                ...           3 months ago
  • 1.5.9                                ...           3 months ago
  • 1.5.9-alpha.0                                ...           3 months ago
  • 1.5.8                                ...           3 months ago
  • 1.5.8-alpha.1                                ...           3 months ago
  • 1.5.8-alpha.0                                ...           3 months ago
  • 1.5.7                                ...           3 months ago
  • 1.5.7-alpha.13                                ...           3 months ago
  • 1.5.7-alpha.12                                ...           3 months ago
  • 1.5.7-alpha.11                                ...           3 months ago
  • 1.5.7-alpha.3                                ...           4 months ago
  • 1.5.7-alpha.2                                ...           4 months ago
  • 1.5.7-alpha.1                                ...           4 months ago
  • 1.5.6-alpha.1                                ...           4 months ago
  • 1.5.6                                ...           4 months ago
  • 1.5.6-alpha.0                                ...           4 months ago
  • 1.5.5                                ...           4 months ago
  • 1.5.5-alpha.2                                ...           4 months ago
  • 1.5.4-alpha.1                                ...           4 months ago
  • 1.5.4                                ...           4 months ago
  • 1.5.4-alpha.0                                ...           4 months ago
  • 1.5.3-alpha.9                                ...           4 months ago
  • 1.5.3                                ...           4 months ago
  • 1.5.3-alpha.2                                ...           4 months ago
  • 1.5.3-alpha.0                                ...           4 months ago
  • 1.5.2-alpha.9                                ...           4 months ago
  • 1.5.2                                ...           4 months ago
  • 1.5.2-alpha.7                                ...           4 months ago
  • 1.5.2-alpha.4                                ...           4 months ago
  • 1.5.2-alpha.2                                ...           4 months ago
  • 1.5.1                                ...           4 months ago
  • 1.5.1-alpha.2                                ...           4 months ago
  • 1.5.1-alpha.0                                ...           4 months ago
  • 1.5.0                                ...           4 months ago
  • 1.4.3-alpha.7                                ...           4 months ago
  • 1.4.3-alpha.2                                ...           4 months ago
  • 1.4.3-alpha.1                                ...           4 months ago
  • 1.4.3-alpha.0                                ...           4 months ago
  • 1.4.2                                ...           4 months ago
  • 1.4.2-alpha.0                                ...           4 months ago
  • 1.4.2-alpha.2                                ...           4 months ago
  • 1.4.1-alpha.14                                ...           4 months ago
  • 1.4.1-alpha.13                                ...           4 months ago
  • 1.4.1                                ...           4 months ago
  • 1.4.1-alpha.12                                ...           4 months ago
  • 1.4.1-alpha.11                                ...           4 months ago
  • 1.4.1-alpha.9                                ...           4 months ago
  • 1.4.1-alpha.8                                ...           4 months ago
  • 1.4.1-alpha.7                                ...           4 months ago
  • 1.4.1-alpha.4                                ...           4 months ago
  • 1.4.1-alpha.1                                ...           4 months ago
  • 1.3.15-alpha.27                                ...           4 months ago
  • 1.4.0                                ...           4 months ago
  • 1.3.15-alpha.26                                ...           4 months ago
  • 1.3.15-alpha.25                                ...           4 months ago
  • 1.3.14                                ...           4 months ago
  • 1.3.13                                ...           4 months ago
  • 1.3.12                                ...           4 months ago
  • 1.3.11                                ...           4 months ago
  • 1.3.10                                ...           4 months ago
  • 1.3.9                                ...           5 months ago
  • 1.3.8                                ...           5 months ago
  • 1.3.7                                ...           5 months ago
  • 1.3.6                                ...           5 months ago
  • 1.3.5                                ...           6 months ago
  • 1.3.4                                ...           6 months ago
  • 1.3.3                                ...           6 months ago
  • 1.3.2                                ...           6 months ago
  • 1.3.1                                ...           6 months ago
  • 1.3.0                                ...           6 months ago
  • 1.2.9                                ...           6 months ago
  • 1.2.8                                ...           6 months ago
  • 1.2.7                                ...           6 months ago
  • 1.2.5                                ...           6 months ago
  • 1.2.4                                ...           7 months ago
  • 1.2.3                                ...           7 months ago
  • 1.2.2                                ...           7 months ago
  • 1.2.1                                ...           7 months ago
  • 1.1.2                                ...           7 months ago
  • 1.1.1                                ...           7 months ago
  • 1.1.0                                ...           7 months ago
  • 0.1.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 38
Last Month 226
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |