aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/webpack.config.js
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-25 17:50:09 +0800
committerGitHub <noreply@github.com>2018-10-25 17:50:09 +0800
commit1c8ea1336e9e0c018ceb38cba90943f1b50eb23a (patch)
treed7ff3a9279c207296baa0825aed7d7bcd782c251 /packages/dev-tools-pages/webpack.config.js
parenta4de585feb0f8e5ec99f0eb4a7b9aca8a24144f5 (diff)
downloaddexon-sol-tools-1c8ea1336e9e0c018ceb38cba90943f1b50eb23a.tar
dexon-sol-tools-1c8ea1336e9e0c018ceb38cba90943f1b50eb23a.tar.gz
dexon-sol-tools-1c8ea1336e9e0c018ceb38cba90943f1b50eb23a.tar.bz2
dexon-sol-tools-1c8ea1336e9e0c018ceb38cba90943f1b50eb23a.tar.lz
dexon-sol-tools-1c8ea1336e9e0c018ceb38cba90943f1b50eb23a.tar.xz
dexon-sol-tools-1c8ea1336e9e0c018ceb38cba90943f1b50eb23a.tar.zst
dexon-sol-tools-1c8ea1336e9e0c018ceb38cba90943f1b50eb23a.zip
Feature/animations (#6)
* test animation * test two part video * new video test * replace videos with gifs * rename videos folder to images * sol-cov gifs * renames variables * compiler gif * change in hero srcset * better positioning of hero image
Diffstat (limited to 'packages/dev-tools-pages/webpack.config.js')
-rw-r--r--packages/dev-tools-pages/webpack.config.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/dev-tools-pages/webpack.config.js b/packages/dev-tools-pages/webpack.config.js
index d025737f7..33ad11498 100644
--- a/packages/dev-tools-pages/webpack.config.js
+++ b/packages/dev-tools-pages/webpack.config.js
@@ -84,7 +84,11 @@ module.exports = (_env, argv) => {
let plugins = [
new CleanWebpackPlugin('public'),
...pages.map(p => new HtmlWebpackPlugin(p)),
- new CopyWebpackPlugin([{ from: 'assets/crawl.html', to: 'index.html' }, { from: 'assets/fonts', to: 'fonts' }]),
+ new CopyWebpackPlugin([
+ { from: 'assets/crawl.html', to: 'index.html' },
+ { from: 'assets/fonts', to: 'fonts' },
+ { from: 'assets/images', to: 'images' },
+ ]),
];
if (argv.mode === 'development') {
config.mode = 'development';