Have ideas to improve npm?Join in the discussion! »

jsx-vanilla-loader

1.0.1 • Public • Published

Description

JSX Vanilla loader for webpack

Examples of webpack.config.js

const path = require('path');
 
module.exports = {
    mode: "development",
    devtool : 'source-map',
    entry: {
        main: "./src/main.js"
    },
    output: {
        path: path.resolve(__dirname, '../js'),
        filename: "[name].js"
    },
    module : {
    rules : [
        {
        test : /\.js$/,
        include : path.resolve(__dirname, "src"),
        loader : 'jsx-vanilla-loader'
      }
    ]
  }
}
 

Install

npm i jsx-vanilla-loader

DownloadsWeekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

2.27 kB

Total Files

4

Last publish

Collaborators

  • avatar