Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jsx babel webpack

module.exports = {
  module: {
    rules: [
      {
        test: /.(js|jsx)$/,
        exclude: /node_modules/,
        use: {
          loader: "babel-loader"
        }
      }
    ]
  }
};
Source by www.valentinog.com #
 
PREVIOUS NEXT
Tagged: #jsx #babel #webpack
ADD COMMENT
Topic
Name
4+8 =