aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/webpack
diff options
context:
space:
mode:
Diffstat (limited to 'client/webpack')
-rw-r--r--client/webpack/webpack.video-embed.js16
1 files changed, 9 insertions, 7 deletions
diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js
index 909048cca..252040bb7 100644
--- a/client/webpack/webpack.video-embed.js
+++ b/client/webpack/webpack.video-embed.js
@@ -27,7 +27,7 @@ module.exports = function () {
27 modules: [ helpers.root('src'), helpers.root('node_modules') ], 27 modules: [ helpers.root('src'), helpers.root('node_modules') ],
28 28
29 alias: { 29 alias: {
30 'video.js$': path.resolve('node_modules/video.js/dist/alt/video.core.js') 30 'video.js$': path.resolve('node_modules/video.js/core.js')
31 } 31 }
32 }, 32 },
33 33
@@ -78,10 +78,12 @@ module.exports = function () {
78 { 78 {
79 loader: 'sass-loader', 79 loader: 'sass-loader',
80 options: { 80 options: {
81 sourceMap: true, 81 sassOptions: {
82 includePaths: [ 82 sourceMap: true,
83 helpers.root('src/sass/include') 83 includePaths: [
84 ] 84 helpers.root('src/sass/include')
85 ]
86 }
85 } 87 }
86 } 88 }
87 ] 89 ]
@@ -131,7 +133,7 @@ module.exports = function () {
131 template: 'src/standalone/videos/embed.html', 133 template: 'src/standalone/videos/embed.html',
132 filename: 'embed.html', 134 filename: 'embed.html',
133 title: 'PeerTube', 135 title: 'PeerTube',
134 chunksSortMode: 'dependency', 136 chunksSortMode: 'auto',
135 inject: 'body', 137 inject: 'body',
136 chunks: ['video-embed'] 138 chunks: ['video-embed']
137 }), 139 }),
@@ -140,7 +142,7 @@ module.exports = function () {
140 template: '!!html-loader!src/standalone/videos/test-embed.html', 142 template: '!!html-loader!src/standalone/videos/test-embed.html',
141 filename: 'test-embed.html', 143 filename: 'test-embed.html',
142 title: 'PeerTube', 144 title: 'PeerTube',
143 chunksSortMode: 'dependency', 145 chunksSortMode: 'auto',
144 inject: 'body', 146 inject: 'body',
145 chunks: ['test-embed'] 147 chunks: ['test-embed']
146 }), 148 }),