Demo of multipart form/file uploading with hapi.js
.
npm install
npm run setup
npm run server
Then ...
var webpack = require('webpack'); | |
var path = require('path'); | |
var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
module.exports = { | |
entry: './src/js/main.js', | |
output: { | |
path: path.resolve(__dirname, 'dist/'), | |
publicPath: 'dist/', | |
filename: 'bundle.js' |
var webpack = require('webpack'); | |
var path = require('path'); | |
var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
module.exports = { | |
entry: './src/js/main.js', | |
output: { | |
path: path.resolve(__dirname, 'dist/'), | |
publicPath: 'dist/', | |
filename: 'bundle.js' |