This commit is contained in:
Pig Fang 2018-09-05 23:34:53 +08:00
parent 825e376777
commit 35488ecca1
2 changed files with 4 additions and 7 deletions

View File

@ -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"
]
}
}

View File

@ -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 -->