0.3.7 • Published 5 years ago

happycss v0.3.7

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

happycss

a webpack loader for css

Downloads

Install

webpack config

const happycss = require('happycss')

module.exports = {
  // ...
  plugins: [
    new happycss({
      // cssPath: '/src/assets/css/happycss.css'
      // importPath: '/src/main.js'
    }),
  ]
}

vue-cli 3.0 vue.config.js

const happycss = require('happycss')

module.exports = {
  // ...
  configureWebpack: {
    plugins: [
      new happycss({
        // cssPath: '/src/assets/css/happycss.css'
        // importPath: '/src/main.js'
      })
    ]
  }
}

The specific rules are as follows

具体规则如下

options

参数

注意事项

Change Log

0.3.1

  • Support color

  • 增加对color的支持

0.3.0

  • Support react

  • 增加对react的支持 (外部文件新增样式,需要刷新页面)

0.2.0

  • compatible webpack 3.0\4.0

  • 兼容webpack 3.0和4.0

0.1.1

  • Increase support for crossing'-','_'in class class names

  • 增加对class类名中 横行'-' 、 '_'的支持

0.1.0

  • Support Webpack 4.0

  • 只支持webpack 4.0

0.0.6

  • auto create happycss.css file

  • 自动生成 happycss.css 文件

License

MIT

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago