frontend-webpack-boilerplate

Simple starter webpack 5 project template supporting SASS/PostCSS, Babel ES7, browser syncing, code linting. Easy project setup having multiple features and developer friendly tools.

MIT License

Downloads
89
Stars
727
Committers
7

Bot releases are visible (Hide)

frontend-webpack-boilerplate - v4.1.5

Published by pnikolov over 4 years ago

Package Updates Full Change Set

frontend-webpack-boilerplate - v4.1.4

Published by pnikolov over 4 years ago

Package Updates Full Change Set

frontend-webpack-boilerplate - v4.1.3

Published by pnikolov over 4 years ago

19/02/2020

Package Updates Full Change Set

frontend-webpack-boilerplate - v4.1.2

Published by pnikolov over 4 years ago

27/01/2020

Updated

  • README.md
    • Text formatting

Package Updates Full Change Set

frontend-webpack-boilerplate - v4.1.1

Published by pnikolov over 4 years ago

22/01/2020

Updated

  • README.md
    • Badges for npmjs.org downloads, open issues, license.
    • Cover repository photo.

Package Updates Full Change Set

frontend-webpack-boilerplate - v4.1.0

Published by pnikolov almost 5 years ago

Updates

  • Important Updated webpack configuration to enable serving the webpack build files using the built-in serving functionality of the browser-sync package.
    • Configuration of serverConfiguration object:
      • Ability to configure the usage of a demo built-in server available from the browser-sync package.
      • Ability to configure the usage of an external existing web server application (e.g back-end powered application) via the proxy server feature of browser-sync package.
    • Configuration of watchOptions:
      • If watching does not work for you, try out this option. Watching does might work with NFS and machines in VirtualBox.
  • New package npm command npm run watch:externalServer to monitor file changes when using an existing web application server, refer to the README for more details.
  • New package npm command npm run bundle:externalServer to install and monitor file changes when using an existing web application server, refer to the README for more details.
  • Package dependencies updates.
  • README file to note all configuration changes.

Package Minor Updates

frontend-webpack-boilerplate - v4.0.1

Published by pnikolov almost 5 years ago

Updates

  • Package dependencies
  • README file to note the minimal node version.

Package Minor Updates

frontend-webpack-boilerplate - v4.0.0

Published by pnikolov almost 5 years ago

Breaking Changes

Updated minimum Node version

  • Minimum required nodejs version is 10.13.0
  • Rebuild our node-sass by running
$ npm rebuild node-sass

File Loader, URL Loader updates

  • Rename the esModules option to esModule
  • Switch to ES modules by default (the option esModule is true by default)

SASS Loader updates

  • Move all sass (includePaths, importer, functions) options to the sassOptions option. The functions option can't be used as Function, you should use sassOption as Function to achieve this.
  • The data option was renamed to the prependData option
  • Default value of the sourceMap option depends on the devtool value (eval/false values don't enable source map generation)

Style Loader updates

  • The convertToAbsoluteUrls option was removed, you don't need this anymore
  • The attrs option was renamed to the attributes option
  • The transform option was removed without replacement
  • The hmr option was removed, webpack automatically inject HMR code when it is required (when the HotModuleReplacementPlugin plugin was used)
  • The sourceMap option was removed. The loader automatically inject source maps if the previous loader emit them
  • The ref/unref api methods were removed for useable loader, please use the use/unuse api methods
  • The style-loader/url loader was removed in favor injectType option (look the documentation about the injectType option)
  • The style-loader/useable loader was removed in favor injectType option (look the documentation about the injectType option)
  • The singleton option was removed (look documentation about the injectType option)
  • The insertAt option was removed in favor the insert option (look the documentation about the insert option and examples)
  • The insertInto options was removed in favor the insert option (look the documentation about the insert option and examples)

New dependencies

Packages major versions update

  • eslint from 5.x to 6.8.0 change log can be found on the official release notes
  • eslint-config-airbnb from 17.x to 18 change log can be found on the official release notes
  • file-loader from 4.x to 5.x change log can be found on the official release notes
  • sass-loader from 7.x to 8.x change log can be found on the official release notes
  • style-loader from 0.x to 1.x change log can be found on the official release notes
  • terser-webpack-plugin from 1.x to 2.x change log can be found on the official release notes
  • url-loader from 2.x to 3.x change log can be found on the official release notes

Packages minor versions update

frontend-webpack-boilerplate - v3.3.0

Published by pnikolov almost 5 years ago

Package Updates Full Change Set

frontend-webpack-boilerplate - v3.2.0

Published by pnikolov about 5 years ago

Package Updates

Minor Package Updates

frontend-webpack-boilerplate - v3.1.0

Published by pnikolov over 5 years ago

Package Updates

Minor Package Updates

  • browser-sync to 2.26.7
  • webpack to 4.34.0
  • webpack-cli to 3.3.4
frontend-webpack-boilerplate - 3.0.0

Published by pnikolov over 5 years ago

Breaking Changes

Minor Package Updates

  • autoprefixer to 9.6.0
  • @babel/core to 7.4.5
  • @babel/preset-env to 7.4.5
  • eslint-plugin-import to 2.17.3
  • mini-css-extract-plugin to 0.7.0
  • terser-webpack-plugin to 1.3.0
  • webpack to 4.33.0

Security audit fixes

  • axios (dependency of browser-sync [dev]) updated to 0.18.11 more info
  • npm audit output:

=== npm audit security report ===

found 0 vulnerabilities
in 17859 scanned packages

frontend-webpack-boilerplate - 2.6.1

Published by pnikolov over 5 years ago

Updated

frontend-webpack-boilerplate - 2.6.0

Published by pnikolov over 5 years ago

Updated

  • Wepback configuration - use path.resolve in all file system references.
  • Package dependencies
    • Downgraded clean-webpack-plugin from 2.0.1 to 1.0.1 (breaking changes, see the updated webpack.config.js) due to strange behaviour during watch mode.
  • Package dependencies trees
  • README - added additional note for NFS and containerized development environments
frontend-webpack-boilerplate - 2.5.0

Published by pnikolov over 5 years ago

Updated

  • Switched to using npm ci instead of npm install for initial install.
    • Updated README
      • More on the clean install npm command can be read yere npm ci
  • NPM audit review and dependency packages updates due to reverting them accidentally
    • Updated tar to 4.4.2 dependency path node-sass > node-gyp > tar - more info
    • Updated braces to 2.3.2 dependency path browser-sync > micromatch > braces - more info
frontend-webpack-boilerplate - 2.4.3

Published by pnikolov over 5 years ago

Updated

  • NPM audit review and dependency packages updates
    • Updated tar to 4.4.2 dependency path node-sass > node-gyp > tar - more info
    • Updated braces to 2.3.2 dependency path browser-sync > micromatch > braces - more info
frontend-webpack-boilerplate - 2.4.2

Published by pnikolov over 5 years ago

Added

  • Issue Template
  • Pull Request Template

Updated

  • Package dependencies
    • clean-webpack-plugin from 1.0.1 to 2.0.1 (breaking changes, see the updated webpack.config.js)
    • copy-webpack-plugin from 4.6.0 to 5.0.2
    • mini-css-extract-plugin from 0.5.0 to 0.6.0
  • Package dependencies trees
  • README
frontend-webpack-boilerplate - 2.4.1

Published by pnikolov over 5 years ago

Updated

  • NPM audit review and dependency packages updates
    • Auto fixing with npm audit fix
    • Manually updated
      • updated tar to 4.4.2 dependency path node-sass > node-gyp > tar - more info
      • updated braces to 2.3.2 dependency path browser-sync > micromatch > braces - more info
  • README file updated
    • Added instructions how to update/migrate to newer version of this setup.
frontend-webpack-boilerplate - 2.4.0

Published by pnikolov over 5 years ago

Added

  • copy-webpack-plugin to copy images that are part of the content (referenced by <img> tags)
  • terser-webpack-plugin to optimize JavaScript files for production
    • This plugin used by webpack itself, so no need to install it additionally
  • Support for favicon in the produced HTML

Updated

  • README
  • Dependencies

Removed

  • uglifyjs-webpack-plugin - in favor of the webpack included terser-webpack-plugin
frontend-webpack-boilerplate - 2.3.0

Published by pnikolov almost 6 years ago

Added

  • NPM package bundle script which runs install and watch tasks in a single call.

Updated