+ instagram service
This commit is contained in:
1 parent
83c1e09c89
commit
d15f9e162f
7 files changed
+185
No files matched your search
@@ -0,0 +1,48 @@
|
||||
import webpack from'webpack';
|
||||
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
||||
|
||||
// import autoprefixer from 'autoprefixer';
|
||||
|
||||
module.exports = {
|
||||
entry: './src/app.js',
|
||||
//resolve: {
|
||||
// modulesDirectories: [
|
||||
// './node_modules'
|
||||
// ]
|
||||
//},
|
||||
output: {
|
||||
path: './build',
|
||||
filename: 'app.js'
|
||||
},
|
||||
// devServer: {
|
||||
// historyApiFallback: true,
|
||||
// hot: true,
|
||||
// inline: true,
|
||||
// progress: true,
|
||||
// host: 'localhost',
|
||||
// port: 3000
|
||||
// },
|
||||
plugins: [
|
||||
// new webpack.HotModuleReplacementPlugin(),
|
||||
new HtmlWebpackPlugin({
|
||||
filename: 'main.html',
|
||||
title: 'Instagram',
|
||||
template: 'src/templates/index.html',
|
||||
inject: 'body'
|
||||
})
|
||||
],
|
||||
module: {
|
||||
loaders: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
// exclude: /node_modules/,
|
||||
//exclude: /(node_modules|bower_components)/,
|
||||
loader: 'babel',
|
||||
query: {
|
||||
// presets: ['react'],
|
||||
cacheDirectory: true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user