Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
codedmonkey committed Jan 10, 2025
1 parent 9afa897 commit 1a6d652
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 36 deletions.
11 changes: 11 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "usage",
"corejs": "3"
}
]
]
}
28 changes: 0 additions & 28 deletions tests/Controller/AjaxTest.php

This file was deleted.

8 changes: 0 additions & 8 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ Encore
.enableSourceMaps(!Encore.isProduction())
.enableVersioning(Encore.isProduction())

.configureBabelPresetEnv((config) => {
config.useBuiltIns = 'usage';
config.corejs = '3.23';
})
.enableSassLoader();

const appConfig = Encore.getWebpackConfig();
Expand All @@ -39,10 +35,6 @@ Encore
.enableSourceMaps(!Encore.isProduction())
.enableVersioning(Encore.isProduction())

.configureBabelPresetEnv((config) => {
config.useBuiltIns = 'usage';
config.corejs = '3.23';
})
.enableSassLoader();

const consoleConfig = Encore.getWebpackConfig();
Expand Down

0 comments on commit 1a6d652

Please sign in to comment.