版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
738 B

  1. "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/unplugin.ts
  2. var _pluginutils = require('@rollup/pluginutils');
  3. function getTransformResult(s, id) {
  4. if (s == null ? void 0 : s.hasChanged()) {
  5. return {
  6. code: s.toString(),
  7. get map() {
  8. return s.generateMap({
  9. source: id,
  10. includeContent: true,
  11. hires: true
  12. });
  13. }
  14. };
  15. }
  16. }
  17. function createFilter(options) {
  18. return _pluginutils.createFilter.call(void 0, options.include, options.exclude);
  19. }
  20. exports.getTransformResult = getTransformResult; exports.createFilter = createFilter; exports.normalizePath = _pluginutils.normalizePath; exports.attachScopes = _pluginutils.attachScopes;