Skip to content

Commit e16aab0

Browse files
committed
fixing package-lock merge
2 parents c8924ca + 11bd758 commit e16aab0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+436
-24690
lines changed

jbrowse/config/dev.config.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,21 @@ clientConfig.resolve.fallback =
2525

2626
clientConfig.plugins =
2727
[new webpack.ProvidePlugin({regeneratorRuntime: 'regenerator-runtime'}),
28-
new NodePolyfillPlugin()].concat(constants.processPlugins(entryPoints))
28+
new NodePolyfillPlugin(),].concat(constants.processPlugins(entryPoints))
2929

30+
clientConfig.module.rules = clientConfig.module.rules.concat(
31+
{
32+
test: /\.m?js$/,
33+
exclude: /node_modules/,
34+
use: {
35+
loader: 'babel-loader',
36+
options: {
37+
presets: [
38+
['@babel/preset-env', { targets: "defaults" }],
39+
['@babel/preset-react']
40+
]
41+
}
42+
}
43+
})
3044

3145
module.exports = [clientConfig]

jbrowse/config/prod.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,19 @@ clientConfig.plugins =
2727
[new webpack.ProvidePlugin({regeneratorRuntime: 'regenerator-runtime'}),
2828
new NodePolyfillPlugin()].concat(constants.processPlugins(entryPoints))
2929

30+
clientConfig.module.rules = clientConfig.module.rules.concat(
31+
{
32+
test: /\.m?js$/,
33+
exclude: /node_modules/,
34+
use: {
35+
loader: 'babel-loader',
36+
options: {
37+
presets: [
38+
['@babel/preset-env', { targets: "defaults" }],
39+
['@babel/preset-react']
40+
]
41+
}
42+
}
43+
})
3044

3145
module.exports = [clientConfig]

jbrowse/config/watch.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,19 @@ clientConfig.plugins =
2727
[new webpack.ProvidePlugin({regeneratorRuntime: 'regenerator-runtime'}),
2828
new NodePolyfillPlugin()].concat(constants.processPlugins(entryPoints))
2929

30+
clientConfig.module.rules = clientConfig.module.rules.concat(
31+
{
32+
test: /\.m?js$/,
33+
exclude: /node_modules/,
34+
use: {
35+
loader: 'babel-loader',
36+
options: {
37+
presets: [
38+
['@babel/preset-env', { targets: "defaults" }],
39+
['@babel/preset-react']
40+
]
41+
}
42+
}
43+
})
3044

3145
module.exports = [clientConfig]

0 commit comments

Comments
 (0)