mirror of
https://github.com/bitwarden/browser
synced 2026-02-14 15:33:55 +00:00
[PM-30404] Exclude .wasm.js from babel (#18555)
* feat: exclude .wasm.js from babel * feat: exclude from browser and desktop too
This commit is contained in:
@@ -109,6 +109,7 @@ module.exports.buildConfig = function buildConfig(params) {
|
||||
},
|
||||
{
|
||||
test: /\.[cm]?js$/,
|
||||
exclude: /\.wasm\.js$/,
|
||||
use: [
|
||||
{
|
||||
loader: "babel-loader",
|
||||
|
||||
@@ -215,6 +215,7 @@ module.exports.buildConfig = function buildConfig(params) {
|
||||
rules: [
|
||||
{
|
||||
test: /\.[cm]?js$/,
|
||||
exclude: /\.wasm\.js$/,
|
||||
use: [
|
||||
{
|
||||
loader: "babel-loader",
|
||||
|
||||
@@ -113,6 +113,7 @@ module.exports.buildConfig = function buildConfig(params) {
|
||||
},
|
||||
{
|
||||
test: /\.[cm]?js$/,
|
||||
exclude: /\.wasm\.js$/,
|
||||
use: [
|
||||
{
|
||||
loader: "babel-loader",
|
||||
|
||||
Reference in New Issue
Block a user