Skip to content

Commit

Permalink
Revert unintentional changes in ef5e90f
Browse files Browse the repository at this point in the history
  • Loading branch information
AbeJellinek committed Aug 27, 2024
1 parent ef5e90f commit e6e43cf
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,18 @@ function generateReaderConfig(build) {
module: {
rules: [
{
test: /\.(ts|js)x?$/,
test: /\.(js|jsx)$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
presets: [
['@babel/preset-env', {
useBuiltIns: false,
targets: build === 'zotero' || build === 'dev'
? { firefox: 115, chrome: 128 }
: undefined
}],
['@babel/preset-env', { useBuiltIns: false }],
],
},
},
},
build === 'dev' && {
{
test: /\.tsx?$/,
exclude: /node_modules/,
use: 'ts-loader',
Expand Down

0 comments on commit e6e43cf

Please sign in to comment.