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 4ee2a17 commit 305a358Copy full SHA for 305a358
Makefile
@@ -646,7 +646,7 @@ endif
646
647
${PHP_DIST_DIR}/%.js: source/%.js
648
npx babel $< --out-dir ${PHP_DIST_DIR}
649
- 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 $@)
650
perl -pi -w -e 's|require\("(\..+?)"\)|require("\1.js")|' ${PHP_DIST_DIR}/$(notdir $@)
651
652
${PHP_DIST_DIR}/%.mjs: source/%.js
0 commit comments