Refactor entry file
This commit is contained in:
parent
f731c672bc
commit
8a2aaccabe
2
resources/assets/src/shims.d.ts
vendored
2
resources/assets/src/shims.d.ts
vendored
@ -48,7 +48,7 @@ declare module 'vue/types/vue' {
|
|||||||
post(url: string, data?: object): { code?: number, message?: string }
|
post(url: string, data?: object): { code?: number, message?: string }
|
||||||
}
|
}
|
||||||
|
|
||||||
$route: string[]
|
$route: RegExpExecArray | null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ const devMode = !process.argv.includes('-p')
|
|||||||
const config = {
|
const config = {
|
||||||
mode: devMode ? 'development' : 'production',
|
mode: devMode ? 'development' : 'production',
|
||||||
entry: {
|
entry: {
|
||||||
index: './resources/assets/src/index.js',
|
index: './resources/assets/src/index.ts',
|
||||||
'check-updates': './resources/assets/src/scripts/check-updates.ts',
|
'check-updates': './resources/assets/src/scripts/check-updates.ts',
|
||||||
style: [
|
style: [
|
||||||
'bootstrap/dist/css/bootstrap.min.css',
|
'bootstrap/dist/css/bootstrap.min.css',
|
||||||
|
Loading…
Reference in New Issue
Block a user