Releases: faceyspacey/babel-plugin-universal-import
Releases · faceyspacey/babel-plugin-universal-import
v4.0.2
v4.0.1
v4.0.0
v3.1.1
<a name"3.1.1">
3.1.1 (2018-10-01)
Adds support for the following webpack magic strings that can be specified per comment block.
webpackMode
webpackInclude
webpackExclude
webpackIgnore
webpackPreload
webpackPrefetch
Also...
- Updates docs
- Updates tests & snapshots
- Update eslint rule to allow template strings
v3.0.2
<a name"3.0.2">
3.0.2 (2018-09-03)
Fix
- Fix webpack critical dependency warning
By not assigning a constant string that is used as an import path to a variable, we can make it absolutely crystal clear to webpack that the thing being imported is not dynamic.
Solves errors like
WARNING in ./node_modules/babel-plugin-universal-import/universalImport.js 33:18-37
Critical dependency: the request of a dependency is an expression
v3.0.1
<a name"3.0.1">
3.0.1 (2018-08-30)
Chore
Upgrade to babel 7
v3.0.0
v2.0.2
v2.0.1
v2.0.0
<a name"2.0.0">
2.0.0 (2018-05-08)
Features
- loadOption: Nested chunknames as major release (c1bb1867)
Breaking Changes
- Chunknames no longer output directories. If the chunkname was components/component,then the output would be a directory called components with the component inside it. Keeping with webpack 3 chunking conventions, chunk folders are represented in the filename with a hyphen as a seperator: components-component.js. the side affect is flattened build outputs
re #45
(c1bb1867)