Skip to content

Releases: studiometa/webpack-config

v2.1.0

15 Sep 20:55
Compare
Choose a tag to compare

Added

  • Add the possibility to configure the Browsersync server via the server property (#5)
  • Add the possibility to trigger a callback on file changes (#5)
  • Add a Github action to publish the package on release (e9e11bc)

Changed

  • Update the package dependencies (41edc5a)
  • Update the demo dependencies (8be3305)

v2.0.1

29 May 14:24
Compare
Choose a tag to compare

Added

  • Add a .npmignore file to reduce the package size and ignore unnecessary files (966b38d)

v2.0.0

29 May 12:02
Compare
Choose a tag to compare

Added

  • Add an --analyze CLI arg (f91c2cb)
  • Add the ability to use the config without proxy (e1ad0c9)
  • Add the ability to watch files with BrowserSync (e1ad0c9)

v2.0.0-alpha.7

04 May 10:03
Compare
Choose a tag to compare
v2.0.0-alpha.7 Pre-release
Pre-release

Simplification of the package by exposing a CLI tool to setup a dev server and build assets for production.

Available commands

# Start the dev server
meta dev

# Build assets for production
meta build

Configuration

The CLI can be configured with a meta.config.js file describing the entries, output path and public path of your assets. For example:

module.exports = {
  /**
   * Entries are resolved with the webpack-glob-entry package
   */
  src: [
    './src/js/**/*.js', 
    './src/css/**/[!_]*.scss'
  ],
  dist: './dist',
  public: '/dist/', 

  /**
   * Analyze the bundle with the WebpackBundleAnalyzer plugin
   */
  analyze: false, 

  /**
   * Extends the Webpack configuration
   */
  webpack(config) {},

  /**
   * Configure `sass-loader`
   */ 
  sassOptions: { 
    // See https://github.com/webpack-contrib/sass-loader#sassoptions 
  },
};

The development server can be configured with the following environment variables to define in a .env file:

APP_HOST=local.fqdn.com
APP_SSL=true
APP_SSL_CERT=../path/to/ssl/cert
APP_SSL_KEY=../path/to/ssl/key

v1.1.2

13 May 09:03
Compare
Choose a tag to compare

Added

  • Add the clean-terminal plugin (89f1acd)

Fixed

  • Fix the terser plugin configuration (77ea8b6)
  • Use a custom more performant version of the terser-webpack-plugin
    (bdbefa7)

v1.1.1

13 May 09:04
Compare
Choose a tag to compare

Fixed

  • Fix the webpack-merge call (44a0572)

v1.1.0

13 May 09:05
Compare
Choose a tag to compare

Added

  • Add WebpackBar to the list of plugin (38806d2)
  • Add a prepare NPM script to never publish without the build
    (a69032a)

Changed

  • Improve the merging strategies
  • Replace babel-minify with terser which is more performant
    (bb48182)

v1.0.1

13 May 09:06
Compare
Choose a tag to compare

Fixed

  • Allow for multiple configuration to be merged with the mergeConfig
    method (c161f6f)

v1.0.0

13 May 09:06
Compare
Choose a tag to compare

Yay, a first release! 🎉

v0.0.0

13 May 09:06
Compare
Choose a tag to compare
v0.0.0 Pre-release
Pre-release

First draft release! 🎉