Skip to content

Commit

Permalink
fix: #68
Browse files Browse the repository at this point in the history
  • Loading branch information
zyprepare committed Dec 12, 2022
1 parent 6df417b commit 67b4d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/copy/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { saveAs } from 'file-saver'
import Zip from 'jszip'

const SPLIT_REGEXP = /\n|\n\s/
const IMPORT_REGEXP = /^\s*import\s/
const IMPORT_REGEXP = /^\s*@?import\s/
const IMPORT_FROM_PATH_REGEXP = /import\s.+\sfrom\s["'](.*)["']/
const IMPORT_PATH_REGEXP = /import\s["'](.*)["']/
const EXT_REGEXP = /\w+\.\w+$/
Expand Down

0 comments on commit 67b4d4f

Please sign in to comment.