We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6efe259 commit 53c5716Copy full SHA for 53c5716
Makefile
@@ -649,7 +649,7 @@ endif
649
650
${PHP_DIST_DIR}/%.js: source/%.js
651
npx babel $< --out-dir ${PHP_DIST_DIR}
652
- sed -i 's|import.meta|(undefined /*import.meta*/)|' ${PHP_DIST_DIR}/$(notdir $@)
+ sed -i '' -e 's|import.meta|(undefined /*import.meta*/)|' ${PHP_DIST_DIR}/$(notdir $@)
653
perl -pi -w -e 's|require\("(\..+?)"\)|require("\1.js")|' ${PHP_DIST_DIR}/$(notdir $@)
654
655
${PHP_DIST_DIR}/%.mjs: source/%.js
0 commit comments