expose import.meta syntax parser option as plugin (#7008)

This commit is contained in:
dnalborczyk
2017-12-16 22:06:23 +01:00
committed by Brian Ng
parent 209a598d51
commit ed4d90b33d
8 changed files with 68 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
export default function() {
return {
manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push("importMeta");
},
};
}