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
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 New Issue
Block a user