@mystify/dcontrols

0.0.19 • Public • Published

This is a library of controls and components that I use if various projects.

REMEMBER:

in your webpack you need to transpile this project with babel, so you need to do this:

exclude : /node_modules(?!([\/\\]@mystify)).*/,

examples:

const rules = [
  {
    test   : /\.(js|jsx)$/,
    exclude: /node_modules(?!([\/\\]@mystify)).*/,
  }, {
    test   : /[\/\\]+fonts[\/\\]+[\w\-\\\/]*[\w\-]+\.(ttf|eot|svg|woff|woff2?)$/i,
    exclude: /node_modules/,
  }, {
    test   : /\.css$/,
    exclude: /node_modules(?!([\/\\]@mystify)).*/,
  }, {
    test   : /\.less$/,
    exclude: /node_modules(?!([\/\\]@mystify)).*/,
  }
];

const plugins = [
  new HappyPack({
    loaders: [
      {
        loader   : 'babel-loader',
        'test'   : /\.(js|jsx)$/,
        exclude  : /node_modules(?!([\/\\]@mystify)).*/,
      }
    ],
  })
]

Readme

Keywords

none

Package Sidebar

Install

npm i @mystify/dcontrols

Weekly Downloads

0

Version

0.0.19

License

MIT

Unpacked Size

52.5 kB

Total Files

13

Last publish

Collaborators

  • mystify