UNPKG

react-meteo-chart

Version:

pre alpha of meteo chart

26 lines (24 loc) 463 B
const webpack = require("webpack"); module.exports = { entry: "./src/index.jsx", output: { path: __dirname + "/dist", filename: "bundle.js" }, module: { rules: [ { test: /\.(js|jsx)$/, exclude: /node_modules/, use: ["babel-loader"] } ] }, plugins: [ new webpack.DefinePlugin({ "process.env": { NODE_ENV: JSON.stringify("production") } }) ] };