Re-wrote to support my api for requesting new movies.

This commit is contained in:
2018-03-20 21:50:39 +01:00
parent 1c45c1ea95
commit aa9bfa12d9
30 changed files with 2868 additions and 155 deletions

View File

@@ -5,7 +5,7 @@ module.exports = {
entry: './src/main.js',
output: {
path: path.resolve(__dirname, './dist'),
publicPath: '/dist/',
publicPath: '/request/dist/',
filename: 'build.js'
},
module: {
@@ -29,7 +29,8 @@ module.exports = {
test: /\.(png|jpg|gif|svg)$/,
loader: 'file-loader',
options: {
name: '[name].[ext]?[hash]'
name: '[name].[ext]'
// name: '[name].[ext]?[hash]'
}
}
]
@@ -49,7 +50,7 @@ module.exports = {
performance: {
hints: false
},
devtool: '#eval-source-map'
// devtool: '#eval-source-map'
}
if (process.env.NODE_ENV === 'production') {