Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 4cdb365

Browse files
committed
Tweak regex, increment version again
1 parent bd0d611 commit 4cdb365

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/webpack-config/babel-loader-config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function getConfigForNodeModules(urc) {
122122
// incompatible with babel without additional configuration beacuse it uses
123123
// an inlined webworker.
124124
function getNodeModuleExclude({ urc }) {
125-
const ignores = [/@babel(?:\/|\\{1,2})runtime/];
125+
const excludes = [/@babel(?:\/|\\{1,2})runtime/];
126126

127127
let usesMapboxGl2 = false;
128128
try {
@@ -134,10 +134,10 @@ function getNodeModuleExclude({ urc }) {
134134
} catch (e) {} // eslint-disable-line
135135

136136
if (usesMapboxGl2) {
137-
ignores.push(/[/\\\\]node_modules\/mapbox-gl\//);
137+
excludes.push(/[/\\\\]node_modules\/mapbox-gl\/dist.*\.js/);
138138
}
139139

140-
return ignores;
140+
return excludes;
141141
}
142142

143143
// `babel-preset-mapbox` depends on the `browserslist` and

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mapbox/underreact",
3-
"version": "0.5.4-dev.1",
3+
"version": "0.6.0-dev.2",
44
"description": "Minimal, extensible React app build system that you won't need to eject",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)