Tweak
This commit is contained in:
parent
825e376777
commit
35488ecca1
8
.babelrc
8
.babelrc
@ -1,13 +1,13 @@
|
||||
{
|
||||
"presets": [
|
||||
["@babel/env", {
|
||||
["@babel/preset-env", {
|
||||
"modules": false,
|
||||
"useBuiltIns": false,
|
||||
"loose": true
|
||||
}]
|
||||
],
|
||||
"plugins": [
|
||||
"@babel/syntax-dynamic-import",
|
||||
"@babel/plugin-syntax-dynamic-import",
|
||||
"@babel/plugin-transform-async-to-generator",
|
||||
["@babel/plugin-transform-runtime", {
|
||||
"helpers": true,
|
||||
@ -17,13 +17,13 @@
|
||||
"env": {
|
||||
"test": {
|
||||
"presets": [
|
||||
["@babel/env", {
|
||||
["@babel/preset-env", {
|
||||
"targets": { "node": "current" },
|
||||
"ignoreBrowserslistConfig": true
|
||||
}]
|
||||
],
|
||||
"plugins": [
|
||||
"dynamic-import-node"
|
||||
"babel-plugin-dynamic-import-node"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -4,9 +4,6 @@
|
||||
<script src="{{ url('public/langs/'.config('app.fallback_locale').'.js') }}"></script>
|
||||
@endif
|
||||
|
||||
@if (str_contains(request()->userAgent(), ['MSIE', 'Trident']))
|
||||
<script src="{{ url('public/polyfill.js') }}"></script>
|
||||
@endif
|
||||
<script src="{{ webpack_assets('index.js') }}"></script>
|
||||
|
||||
<!-- User custom scripts -->
|
||||
|
Loading…
Reference in New Issue
Block a user