Skip to content

Commit 04d0e9f

Browse files
committed
Remove deprecated babel/polyfill
1 parent 7b14a69 commit 04d0e9f

File tree

7 files changed

+9
-41
lines changed

7 files changed

+9
-41
lines changed

js/bundle.js

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

js/bundle.js.map

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

js/post.js

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

js/post.js.map

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-lock.json

Lines changed: 3 additions & 35 deletions
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
@@ -23,10 +23,10 @@
2323
"devDependencies": {
2424
"@babel/core": "^7.26.9",
2525
"@babel/helper-compilation-targets": "^7.26.5",
26-
"@babel/polyfill": "^7.12.1",
2726
"@babel/preset-env": "^7.26.9",
2827
"babel-loader": "^9.2.1",
2928
"copy-webpack-plugin": "^12.0.2",
29+
"core-js": "^2.6.12",
3030
"css-loader": "^6.10.0",
3131
"expose-loader": "^5.0.1",
3232
"mini-css-extract-plugin": "^2.9.2",

resources/js/bundle/highlight.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
import * as poly from "@babel/polyfill/dist/polyfill";
3+
import "core-js";
44
import hljs from "highlight.js/lib/core";
55
import xml from "highlight.js/lib/languages/xml";
66
import php from "highlight.js/lib/languages/php";

0 commit comments

Comments
 (0)