Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Releases: egoist/poi

v9.5.0

03 Nov 05:36
Compare
Choose a tag to compare

New features:

We now have a new default babel preset: babel-preset-poi to replace babel-preset-vue-app:

  • jsx option, it's set to vue by default but you can switch to React JSX by jsx: 'react', or any JSX pragma like: jsx: 'h' in Poi config file, CLI flag like: poi --jsx react works too
  • babel-macros by @kentcdodds

v9.4.1

22 Oct 03:37
Compare
Choose a tag to compare

We now stop using pkg.homepage as the default value of homepage options. Because sometimes it does not stand for the publicPath in your app at all, eg. you may set it to the link of your documentation.

v9.2.0

05 Aug 10:58
Compare
Choose a tag to compare

New features

  • Better error handling for uglifyjs errors

2017-08-05 6 56 25

v9.1.4

22 Jul 17:33
Compare
Choose a tag to compare

New features:

  • Add vue option to set custom vue-loader options.

v9.1.0

06 Jul 04:35
Compare
Choose a tag to compare

Breaking changes

This should be published as poi@10.0.0, sorry for that.

  • Upgrade to vue-loader 13.0.0 (Only affect vue users)
  • Upgrade to postcss-loader 2

Basically you need to:

# this is not required in vue 2.4 + vue-router 2.7
- const Foo = () => import('./Foo.vue')
+ const Foo = () => import('./Foo.vue').then(m => m.default)

# this change is always required
- const Foo = require('./Foo.vue')
+ const Foo = require('./Foo.vue').default

This is due to .vue file now exports ES modules instead of CommonJS modules.

And update your postcss plugins.

New features

v9.0.0

10 Jun 10:52
Compare
Choose a tag to compare

Migrate from v8 to v9

Upgrade poi and the presets you are using to latest version.

Breaking changes

Minor changes

  • Resolve .jsx extension by default.

v8.0.4

21 May 01:35
Compare
Choose a tag to compare

New features:

  • Files ending with .module.css have CSS modules enabled by default. (Same for .module.sass .module.styl etc.)
  • You can use :hot: or [hot](deprecated) keyword to insert HMR entry for hot reloading, eg:
// poi.config.js
module.exports = {
  entry: {
    app: [':hot:', './app.js']
  }
}

v8.0.0-rc.7

08 May 10:25
Compare
Choose a tag to compare
v8.0.0-rc.7 Pre-release
Pre-release

New features:

  • Use [hot] keyword to insert dev client for hot reloading

Example:

// poi.config.js
module.exports = {
  entry: {
    app: ['[hot]', './my-app.js']
  }
}

by default we only add dev client to the default entry client, so app does not have hot reloading support unless you add a [hot] keyword.

v8.0.0-rc.2

30 Apr 12:53
Compare
Choose a tag to compare
v8.0.0-rc.2 Pre-release
Pre-release

Renamed from vbuild to Poi, R.I.P. my good old friend.

There're also a couple small changes: https://gist.github.com/egoist/f9690d43395748b34435672265dc89fd

Version 7.0.0

17 Apr 06:34
Compare
Choose a tag to compare