From 839e1d1c65775fab0afc214881c645743cae3a7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Kr=C3=B6g?= Date: Sat, 13 Aug 2022 16:08:02 +0200 Subject: [PATCH] Use non-symlinked ol.css for example-builder File watching does not seem to work with symlinks --- examples/webpack/config.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/webpack/config.mjs b/examples/webpack/config.mjs index 45e67e9f04..83ed6c08b0 100644 --- a/examples/webpack/config.mjs +++ b/examples/webpack/config.mjs @@ -70,6 +70,10 @@ export default { new CopyPlugin({ patterns: [ {from: '../site/src/theme', to: 'theme'}, + { + from: path.join(baseDir, '..', '..', 'src', 'ol', 'ol.css'), + to: path.join(baseDir, '..', '..', 'theme', 'ol', 'ol.css'), + }, {from: 'data', to: 'data'}, {from: 'resources', to: 'resources'}, {from: 'index.html', to: 'index.html'},