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:
parent
459fc0bbe7
commit
23eede4d2f
4 changed files with 52 additions and 49 deletions
|
@ -5,7 +5,7 @@ module.exports = merge(common, {
|
|||
// In order for live reload to work we must use "web" as the target not "browserslist"
|
||||
target: process.env.WEBPACK_SERVE ? 'web' : 'browserslist',
|
||||
mode: 'development',
|
||||
entry: { 'main.jellyfin': './scripts/site.js' },
|
||||
entry: { 'main.jellyfin': './index.jsx' },
|
||||
devtool: 'eval-cheap-module-source-map',
|
||||
module: {
|
||||
rules: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue