修改后台权限
This commit is contained in:
13
node_modules/msw/config/constants.js
generated
vendored
Normal file
13
node_modules/msw/config/constants.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import url from 'node:url'
|
||||
import path from 'node:path'
|
||||
|
||||
export const SERVICE_WORKER_SOURCE_PATH = url.fileURLToPath(
|
||||
new URL('../src/mockServiceWorker.js', import.meta.url),
|
||||
)
|
||||
|
||||
export const SERVICE_WORKER_BUILD_PATH = url.fileURLToPath(
|
||||
new URL(
|
||||
path.join('../lib', path.basename(SERVICE_WORKER_SOURCE_PATH)),
|
||||
import.meta.url,
|
||||
),
|
||||
)
|
||||
Reference in New Issue
Block a user