Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

webpack dev server

 devServer: {
    contentBase: path.join(__dirname, 'dist'),
    compress: true,
    port: 9000,
  },
 // on package json file..
 "start": "./node_modules/.bin/webpack serve",
 
PREVIOUS NEXT
Tagged: #webpack #dev #server
ADD COMMENT
Topic
Name
8+7 =