Skip to content

Releases: faceyspacey/babel-plugin-universal-import

v4.0.2

15 Apr 23:42
afc2f6b
Compare
Choose a tag to compare

<a name"4.0.2">

4.0.2 (2020-04-15)

Bug Fixes

  • deps: update dependency eslint-plugin-import to v2.20.2 (#118) (afc2f6b5)

v4.0.1

31 Mar 17:21
f62e855
Compare
Choose a tag to compare

<a name"4.0.1">

4.0.1 (2020-03-31)

Bug Fixes

  • do not add module "react-universal-component" into the webpack build if it has n (f62e855b)

v4.0.0

30 Jan 04:38
6d9428c
Compare
Choose a tag to compare

<a name"4.0.0">

4.0.0 (2019-01-30)

Features

Breaking Changes

  • The plugin will no longer rename chunks to dashes
    (6d9428cf)

v3.1.1

01 Oct 15:18
9d61ae8
Compare
Choose a tag to compare

<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

04 Sep 00:42
f1fe940
Compare
Choose a tag to compare

<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

30 Aug 22:25
696b445
Compare
Choose a tag to compare

<a name"3.0.1">

3.0.1 (2018-08-30)

Chore

Upgrade to babel 7

v3.0.0

04 Jun 23:44
150f52c
Compare
Choose a tag to compare

<a name"3.0.0">

3.0.0 (2018-06-04)

Bug Fixes

  • index.js:
    • Removed second param on loadTemplate (c5ea8e13)

Features

  • universal-loader: Webpack 4 Support (aa0ef476)

Breaking Changes

  • Webpack 4 & extract-css-chunks 3 is required

fix #30, #35, re #29

(aa0ef476)

v2.0.2

03 Jun 03:33
348c2b0
Compare
Choose a tag to compare

<a name"2.0.2">

2.0.2 (2018-06-03)

Bug Fixes

  • support multiple imports in one file (1bd5af38)

v2.0.1

01 Jun 18:15
4645e25
Compare
Choose a tag to compare

<a name"2.0.1">

2.0.1 (2018-06-01)

Bug Fixes

  • loadOption: Ensure the argument passed to importCss matches the chunkName, with dashed logic (dc64e718)

v2.0.0

08 May 02:39
161713a
Compare
Choose a tag to compare

<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)