diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-17 16:17:22 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-18 10:14:25 +0100 |
commit | 03d641a0d7f996de44ec898ad739bc4050514ba1 (patch) | |
tree | dc8d36a945133fdc91fa279b9c97a22f1ec11465 /client/src/standalone/player/webpack.config.js | |
parent | c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9 (diff) | |
download | PeerTube-03d641a0d7f996de44ec898ad739bc4050514ba1.tar.gz PeerTube-03d641a0d7f996de44ec898ad739bc4050514ba1.tar.zst PeerTube-03d641a0d7f996de44ec898ad739bc4050514ba1.zip |
Add embed api build
Diffstat (limited to 'client/src/standalone/player/webpack.config.js')
-rw-r--r-- | client/src/standalone/player/webpack.config.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/client/src/standalone/player/webpack.config.js b/client/src/standalone/player/webpack.config.js new file mode 100644 index 000000000..48d350edf --- /dev/null +++ b/client/src/standalone/player/webpack.config.js | |||
@@ -0,0 +1,12 @@ | |||
1 | const path = require('path') | ||
2 | |||
3 | module.exports = [ | ||
4 | { | ||
5 | mode: 'production', | ||
6 | entry: './dist/player.js', | ||
7 | output: { | ||
8 | filename: 'player.min.js', | ||
9 | path: path.resolve(__dirname, 'build') | ||
10 | } | ||
11 | } | ||
12 | ] | ||