Skip to content

Releases: qiniu/builder

v1.6.2

24 Jan 08:58
Compare
Choose a tag to compare

#59 Feature/fork ts checker webpack plugin
#65 build-config 中添加字段指定 builder 版本号

v1.6.1

22 Jan 09:44
f30051f
Compare
Choose a tag to compare

#62 修复升级之后不支持 node v6.x 的问题

v1.6.0

22 Jan 04:04
Compare
Choose a tag to compare

#41 Update deps

Breaking Changes

[email protected], may cause questions:

  • Weak Type Detection. Check the linked page for solution.
  • React Components' typings error (caused by question 1). Solution: upgrade React typings package.

The new way to import svg files

We used to do:

const fooIcon = require('./foo.svg')

Value of fooIcon is a string, and we can use it like this:

<svg>
  <use
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xlink:href={fooIcon}
  ></use>
</svg>

Now we just import svg files and use the default export:

import fooIcon from './foo.svg'

Now we can use fooIcon just the same as before.

If you uses Typescript, you need to add a type declaration file (for example, svg.d.ts):

declare let svgExport: string

declare module '*.svg' {
  export default svgExport
}

v1.5.1

26 Dec 06:09
Compare
Choose a tag to compare

#46

v1.5.0

26 Dec 02:40
Compare
Choose a tag to compare

v1.4.6

22 Nov 07:05
Compare
Choose a tag to compare

#39 disable host check for dev server

v1.4.5

31 Oct 02:01
Compare
Choose a tag to compare
  • ad644e8 use bash instead of sh in docker image

v1.4.4

25 Oct 13:00
Compare
Choose a tag to compare

#31 支持 scss/sass & 完善 vue 支持

v1.4.3

20 Oct 07:27
Compare
Choose a tag to compare

#27 fix pages structure for gen-page
#28 remove minimize configuration through LoaderOptionsPlugin(修复生产环境下 vue-loader 不能识别 /deep/ 的问题)

v1.4.2

11 Oct 08:28
Compare
Choose a tag to compare

#24 修复 vue-loader 中对样式预处理器的支持问题