Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

WebPack basic Configuration

// place this code in webpack.config.js

module.exports = {
  context: __dirname,
  entry: 'src/app.js',
  output: {
    path: __dirname + '/public',
    filename: 'app.js'
  }
}
Source by devhints.io #
 
PREVIOUS NEXT
Tagged: #WebPack #basic #Configuration
ADD COMMENT
Topic
Name
8+9 =