modules: [ helpers.root('src'), helpers.root('node_modules') ],
alias: {
- 'video.js$': path.resolve('node_modules/video.js/dist/alt/video.core.js')
+ 'video.js$': path.resolve('node_modules/video.js/core.js')
}
},
publicPath: '/client/standalone/videos/'
},
- // devtool: 'source-map',
+ devtool: process.env.NODE_ENV === 'production' ? false : 'source-map',
module: {
{
loader: 'sass-loader',
options: {
- sourceMap: true,
- includePaths: [
- helpers.root('src/sass/include')
- ]
+ sassOptions: {
+ sourceMap: true,
+ includePaths: [
+ helpers.root('src/sass/include')
+ ]
+ }
}
}
]
template: 'src/standalone/videos/embed.html',
filename: 'embed.html',
title: 'PeerTube',
- chunksSortMode: 'dependency',
+ chunksSortMode: 'auto',
inject: 'body',
chunks: ['video-embed']
}),
template: '!!html-loader!src/standalone/videos/test-embed.html',
filename: 'test-embed.html',
title: 'PeerTube',
- chunksSortMode: 'dependency',
+ chunksSortMode: 'auto',
inject: 'body',
chunks: ['test-embed']
}),