Created
October 1, 2019 16:48
-
-
Save agzuniverse/d6eb344a03d17cfd9cfeef216b3caa65 to your computer and use it in GitHub Desktop.
Revisions
-
agzuniverse created this gist
Oct 1, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ const path = require('path') module.exports = { "entry": "./src/index.js", "output": { path: path.resolve(__dirname, 'dist'), filename: "bundle.js" }, module: { rules: [ { test: /\.(js|jsx)$/, exclude: /node_modules/, use: "babel-loader" }, { test: /\css$/, use: [ { loader: "style-loader" }, { loader: "css-loader" } ] } ] } }