mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 10:21:46 +01:00
refactor(ts): import script using new Hugo Module logic (#77)
Allows user to overwrite a specific script. Note: The required version of Hugo might bump up.
This commit is contained in:
parent
33685fb878
commit
54571f036b
2 changed files with 14 additions and 4 deletions
10
assets/jsconfig.json
Normal file
10
assets/jsconfig.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"*": [
|
||||
"*"
|
||||
]
|
||||
},
|
||||
}
|
||||
}
|
|
@ -6,10 +6,10 @@
|
|||
* @link: https://github.com/CaiJimmy/hugo-theme-stack
|
||||
*/
|
||||
|
||||
import { createGallery } from "./gallery"
|
||||
import { getColor } from './color';
|
||||
import menu from './menu';
|
||||
import createElement from './createElement';
|
||||
import { createGallery } from "ts/gallery"
|
||||
import { getColor } from 'ts/color';
|
||||
import menu from 'ts/menu';
|
||||
import createElement from 'ts/createElement';
|
||||
|
||||
let Stack = {
|
||||
init: () => {
|
||||
|
|
Loading…
Reference in a new issue