diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-05-18 15:59:18 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-05-18 15:59:18 +0200 |
commit | 3d2371f58c350453045b76084165219a6f8d063c (patch) | |
tree | 0694909781f0b8e551c5da09bfa0a9089f8cbcf7 /gulpfile.js | |
parent | 8fc2ec92389a47fae21878c76dad9efe54c9041e (diff) | |
download | fosdem-2021-minimalism-presentation-3d2371f58c350453045b76084165219a6f8d063c.tar fosdem-2021-minimalism-presentation-3d2371f58c350453045b76084165219a6f8d063c.tar.gz |
bundle html inside of notes.js, no more need for relatively locating external html
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js index 575173d..2812f3a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -38,6 +38,8 @@ process.setMaxListeners(20); const babelConfig = { exclude: 'node_modules/**', compact: false, + extensions: ['.js', '.html'], + plugins: ['transform-html-import-to-string'], presets: [[ '@babel/preset-env', { |