1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Only allow jsx in jsx/tsx files

This commit is contained in:
Bill Thornton 2022-09-29 12:50:25 -04:00
parent 459fc0bbe7
commit 23eede4d2f
4 changed files with 52 additions and 49 deletions

View file

@ -5,7 +5,7 @@ const WorkboxPlugin = require('workbox-webpack-plugin');
module.exports = merge(common, {
mode: 'production',
entry: { 'main.jellyfin': './scripts/site.js' },
entry: { 'main.jellyfin': './index.jsx' },
plugins: [
new WorkboxPlugin.InjectManifest({
swSrc: path.resolve(__dirname, 'src/serviceworker.js'),