This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const context = JSON.stringify({CSS_PREFIX: 'tui-full-calendar-'}); | |
... | |
module: { | |
rules: [ | |
{ | |
test: /\.styl$/, | |
use: [ | |
`preprocess-loader?${context}`, | |
'css-loader', | |
'stylus-loader' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
entry: ['./src/sass/index.scss', './src/ts/index.ts'], | |
... | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Month from './month'; | |
import Week from './week'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compilerOptions": { | |
"plugins": [ | |
{ | |
"transform": "typescript-transform-paths" | |
} | |
] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Month from '@src/month'; | |
import Week from '@src/week'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compilerOptions": { | |
"noImplicitAny": true, | |
"target": "es6", | |
"jsx": "react", | |
"jsxFactory": "h", | |
"esModuleInterop": true, | |
"allowSyntheticDefaultImports": true, | |
"moduleResolution": "node", | |
"outDir": "dist/esm/", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"noImplicitAny": true, | |
"target": "es5", | |
"jsx": "react", | |
"jsxFactory": "h", | |
"esModuleInterop": true, | |
"allowSyntheticDefaultImports": true, | |
"strict": true, | |
"baseUrl": ".", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @class Calendar Calendar View | |
*/ | |
export default class Calendar {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"header": { | |
"logo": { | |
"src": "https://uicdn.toast.com/toastui/img/tui-component-bi-white.png", | |
"linkUrl": "/" | |
}, | |
"title": { | |
"text": "Calendar", | |
"linkUrl": "https://github.com/nhn/toast-ui.doc" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"eslint.validate": [ | |
{ | |
"language": "typescript", | |
"autoFix": true | |
}, | |
{ | |
"language": "typescriptreact", | |
"autoFix": true | |
} |