mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 11:42:05 +00:00
static files for state container added to copy webpack plugin config
This commit is contained in:
parent
ed7b039f2c
commit
f71680268f
1 changed files with 2 additions and 2 deletions
|
|
@ -16,8 +16,7 @@ module.exports = {
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
include: [
|
include: [
|
||||||
path.resolve(__dirname, 'src'),
|
path.resolve(__dirname, 'src'),
|
||||||
path.resolve(__dirname, 'node_modules/stremio-icons/dom'),
|
path.resolve(__dirname, 'node_modules/stremio-icons/dom')
|
||||||
path.resolve(__dirname, 'node_modules/stremio-state-container-web')
|
|
||||||
],
|
],
|
||||||
use: {
|
use: {
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
|
|
@ -107,6 +106,7 @@ module.exports = {
|
||||||
inject: false
|
inject: false
|
||||||
}),
|
}),
|
||||||
new CopyWebpackPlugin([
|
new CopyWebpackPlugin([
|
||||||
|
{ from: 'node_modules/stremio-state-container-web/static', to: '' },
|
||||||
{ from: 'images', to: 'images' },
|
{ from: 'images', to: 'images' },
|
||||||
{ from: 'fonts', to: 'fonts' }
|
{ from: 'fonts', to: 'fonts' }
|
||||||
])
|
])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue