File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1- import getPort from 'get-port'
21import { readFileSync , writeFileSync } from 'node:fs'
32import { createServer } from 'node:http'
43import { dirname , resolve } from 'node:path'
54import { fileURLToPath } from 'node:url'
5+ import getPort from 'get-port'
66import openLink from 'open'
77import colors from 'picocolors'
88import sanitize from 'sanitize-filename'
99import serveHandler from 'serve-handler'
10- import { PluginOption , ResolvedConfig , createLogger } from 'vite'
10+ import { createLogger , PluginOption , ResolvedConfig } from 'vite'
1111import { server } from 'websocket'
1212import type { connection } from 'websocket'
1313import { Banner } from './banner.js'
1414import { userConfig } from './config.js'
15- import { grants , regexpScripts , regexpStyles , styleTemplate } from './constants.js'
15+ import {
16+ grants ,
17+ regexpScripts ,
18+ regexpStyles ,
19+ styleTemplate
20+ } from './constants.js'
1621import css from './css.js'
1722import { defineGrants , removeDuplicates , transform } from './helpers.js'
1823import type { UserscriptPluginConfig } from './types.js'
You can’t perform that action at this time.
0 commit comments