Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ENVVARS): refactor mode and env #4

Open
1 of 3 tasks
DoubleU23 opened this issue May 14, 2021 · 0 comments
Open
1 of 3 tasks

fix(ENVVARS): refactor mode and env #4

DoubleU23 opened this issue May 14, 2021 · 0 comments

Comments

@DoubleU23
Copy link
Member

  • use NODE_ENV to set default mode
  • refactor env and mode usage - BREAKING CHANGE
  • refactor/cleanup and document new usage
DoubleU23 added a commit that referenced this issue May 4, 2022
DoubleU23 added a commit that referenced this issue May 4, 2022
BREAKING CHANGE: for `webpack@4` use `@stackr23/webpack@2`

* deps: upgrade webpack packages
`webpack`, `webpack-cli`, `webpack-dev-server`, `webpack-merge`
* deps: upgrade other webpack releated pckgs
  * webpack-helpers: `copy-webpack-plugin`, `html-webpack-plugin`, `mini-css-extract-plugin`
  * webpack-loaders: `loader-utils`, `css-loader`, `postcss-loader"`, `sass-loader`, `source-map-loader`, `style-loader`
* deps: upgrade `karma-webpack` to v5
* deps: update post-css packages

* refactor(webpack-merge): migrate to new version
* refactor: migrate `post-css` options to v8
* refactor: migrate  options to webpack v5
  * `splitChunks.cacheGroups.vendors` → `splitChunks.cacheGroups.defaultVendors`
  * change `sass-loader`s 'query' key to 'options'
* refactor: remove `addEnvVariables()` in merge fn
  TODO: refactor mode/env (#4)

* config(npm): remove `-p` from webpack commands
* config(test): use `NODE_ENV` in karma.webpack.mode
* test(assets): remove __esModule' import test

closes #10
github-actions bot pushed a commit that referenced this issue May 4, 2022
# [2.2.0](v2.1.2...v2.2.0) (2022-05-04)

### ✨ Features

* migrate to webpack 5 ([#9](#9)) ([25eb889](25eb889)), closes [#4](#4) [#10](#10)

### BREAKING CHANGES

* for `webpack@4` use `@stackr23/webpack@2`

* deps: upgrade webpack packages
`webpack`, `webpack-cli`, `webpack-dev-server`, `webpack-merge`
* deps: upgrade other webpack releated pckgs
  * webpack-helpers: `copy-webpack-plugin`, `html-webpack-plugin`, `mini-css-extract-plugin`
  * webpack-loaders: `loader-utils`, `css-loader`, `postcss-loader"`, `sass-loader`, `source-map-loader`, `style-loader`
* deps: upgrade `karma-webpack` to v5
* deps: update post-css packages

* refactor(webpack-merge): migrate to new version
* refactor: migrate `post-css` options to v8
* refactor: migrate  options to webpack v5
  * `splitChunks.cacheGroups.vendors` → `splitChunks.cacheGroups.defaultVendors`
  * change `sass-loader`s 'query' key to 'options'
* refactor: remove `addEnvVariables()` in merge fn
DoubleU23 added a commit that referenced this issue May 4, 2022
BREAKING CHANGE: for `webpack@4` use `@stackr23/webpack@2`

* deps: upgrade webpack packages
`webpack`, `webpack-cli`, `webpack-dev-server`, `webpack-merge`
* deps: upgrade other webpack releated pckgs
  * webpack-helpers: `copy-webpack-plugin`, `html-webpack-plugin`, `mini-css-extract-plugin`
  * webpack-loaders: `loader-utils`, `css-loader`, `postcss-loader"`, `sass-loader`, `source-map-loader`, `style-loader`
* deps: upgrade `karma-webpack` to v5
* deps: update post-css packages

* refactor(webpack-merge): migrate to new version
* refactor: migrate `post-css` options to v8
* refactor: migrate  options to webpack v5
  * `splitChunks.cacheGroups.vendors` → `splitChunks.cacheGroups.defaultVendors`
  * change `sass-loader`s 'query' key to 'options'
* refactor: remove `addEnvVariables()` in merge fn
  TODO: refactor mode/env (#4)

* config(npm): remove `-p` from webpack commands
* config(test): use `NODE_ENV` in karma.webpack.mode
* config: use minimal eslint setup
* config(sem-rel): add `parserOpts.noteKeywords`
* test(assets): remove __esModule' import test
github-actions bot pushed a commit that referenced this issue May 4, 2022
# [2.2.0](v2.1.2...v2.2.0) (2022-05-04)

### ✨ Features

* migrate to webpack v5 ! BREAKING CHANGE ! ([#13](#13)) ([019487f](019487f)), closes [#4](#4)

### BREAKING CHANGES

* for `webpack@4` use `@stackr23/webpack@2`

* deps: upgrade webpack packages
`webpack`, `webpack-cli`, `webpack-dev-server`, `webpack-merge`
* deps: upgrade other webpack releated pckgs
  * webpack-helpers: `copy-webpack-plugin`, `html-webpack-plugin`, `mini-css-extract-plugin`
  * webpack-loaders: `loader-utils`, `css-loader`, `postcss-loader"`, `sass-loader`, `source-map-loader`, `style-loader`
* deps: upgrade `karma-webpack` to v5
* deps: update post-css packages

* refactor(webpack-merge): migrate to new version
* refactor: migrate `post-css` options to v8
* refactor: migrate  options to webpack v5
  * `splitChunks.cacheGroups.vendors` → `splitChunks.cacheGroups.defaultVendors`
  * change `sass-loader`s 'query' key to 'options'
* refactor: remove `addEnvVariables()` in merge fn
DoubleU23 added a commit that referenced this issue May 4, 2022
# [3.0.0](v2.1.2...v3.0.0) (2022-05-04)

### 🚨 BREAKING CHANGE

- migrate to webpack v5 ([#13](#13)) ([019487f](019487f)), closes [#4](#4)

### 📦 Dependencies

- deps: upgrade webpack packages
  `webpack`, `webpack-cli`, `webpack-dev-server`, `webpack-merge`
- deps: upgrade other webpack releated pckgs
  - webpack-helpers: `copy-webpack-plugin`, `html-webpack-plugin`, `mini-css-extract-plugin`
  - webpack-loaders: `loader-utils`, `css-loader`, `postcss-loader"`, `sass-loader`, `source-map-loader`, `style-loader`
- deps: upgrade `karma-webpack` to v5
- deps: update post-css packages

### 🏗️ Refactoring

- refactor(webpack-merge): migrate to new version
- refactor: migrate `post-css` options to v8
- refactor: migrate options to webpack v5
  - `splitChunks.cacheGroups.vendors` → `splitChunks.cacheGroups.defaultVendors`
  - change `sass-loader`s 'query' key to 'options'
- refactor: remove `addEnvVariables()` in merge fn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant