diff options
| author | 2025-06-10 19:03:35 -0700 | |
|---|---|---|
| committer | 2025-06-10 19:03:35 -0700 | |
| commit | 4dcdbd8002b44e584d9864b3d740eeb5d0978d61 (patch) | |
| tree | 47aa16bfd57adb16b2b7d016f1ba1d0e936c7fe6 /surfingkeys/webpack.config.js | |
| parent | e0c5aa1d6114ccdf4065a0dbe0e03ba2ac874749 (diff) | |
| download | new-dotfiles-4dcdbd8002b44e584d9864b3d740eeb5d0978d61.tar.gz new-dotfiles-4dcdbd8002b44e584d9864b3d740eeb5d0978d61.zip | |
Surfingkeys: Split output between home and work
Diffstat (limited to 'surfingkeys/webpack.config.js')
| -rw-r--r-- | surfingkeys/webpack.config.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/surfingkeys/webpack.config.js b/surfingkeys/webpack.config.js index ffd847c..e4b23ca 100644 --- a/surfingkeys/webpack.config.js +++ b/surfingkeys/webpack.config.js @@ -1,7 +1,10 @@ const path = require('path'); module.exports = { - entry: './surfingkeys.ts', + entry: { + 'home': './home.ts', + 'punt': './punt.ts', + }, mode: 'production', module: { rules: [ @@ -16,7 +19,7 @@ module.exports = { extensions: ['.ts', '.js'], }, output: { - filename: 'surfingkeys.js', + filename: '[name].js', path: path.resolve(__dirname, 'dist'), }, }; |
