Created
April 27, 2017 18:39
-
-
Save igmoweb/450f25af1e0ff533b5f5537ade7dd6d0 to your computer and use it in GitHub Desktop.
First webpack config for WP Plugin
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 characters
const path = require( 'path' ); | |
module.exports = { | |
entry: [ | |
'./src/index.js' | |
], | |
output: { | |
filename: 'app.js', | |
path: path.resolve( __dirname, 'build' ) | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment