index.js 475 B

123456789101112131415161718192021222324
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var _helperPluginUtils = require("@babel/helper-plugin-utils");
  7. var _default = (0, _helperPluginUtils.declare)(api => {
  8. api.assertVersion(7);
  9. return {
  10. name: "syntax-import-assertions",
  11. manipulateOptions(opts, parserOpts) {
  12. parserOpts.plugins.push("importAssertions");
  13. }
  14. };
  15. });
  16. exports.default = _default;
  17. //# sourceMappingURL=index.js.map