Skip to content

Commit

Permalink
fix(build): bump marko compiler version
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Dec 30, 2024
1 parent ca6333d commit 3752834
Show file tree
Hide file tree
Showing 3 changed files with 417 additions and 8 deletions.
5 changes: 2 additions & 3 deletions packages/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.17.12",
"@babel/runtime": "^7.17.2",
"@marko/babel-utils": "^5.19.1",
"@marko/compiler": "^5.19.1",
"@marko/compiler": "^5.39.9",
"@marko/webpack": "^9.2.1",
"argly": "^1.2.0",
"babel-loader": "^8.2.3",
Expand All @@ -30,7 +29,7 @@
"imagemin-jpegtran": "^7.0.0",
"imagemin-optipng": "^8.0.0",
"imagemin-svgo": "^9.0.0",
"marko": "^5.19.0",
"marko": "^5.37.10",
"mini-css-extract-plugin": "^2.6.0",
"mkdirp": "^1.0.4",
"parse-node-args": "^1.1.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/build/src/components/src-attributes-transformer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";

const markoUtils = require("@marko/babel-utils");
const markoUtils = require("@marko/compiler/babel-utils");
const attrTags = {
src: [
"audio",
Expand Down Expand Up @@ -28,7 +28,7 @@ const tagAttrs = Object.keys(attrTags).reduce((tagAttrs, attrName) => {
return tagAttrs;
}, {});

module.exports = function(a, b) {
module.exports = function (a, b) {
if (a.hub) {
return transformMarko5(a, b);
}
Expand Down
Loading

0 comments on commit 3752834

Please sign in to comment.