Skip to content

Commit

Permalink
Merge pull request #69 from hiui-group/hotfix/#68
Browse files Browse the repository at this point in the history
fix: #68
  • Loading branch information
solarjoker authored Dec 12, 2022
2 parents 6df417b + 67b4d4f commit 55704b4
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 55704b4

Please sign in to comment.