Skip to content

Instantly share code, notes, and snippets.

View dongsik-yoo's full-sized avatar

유동식 dongsik-yoo

  • Woowabros
  • Seoul
View GitHub Profile
const context = JSON.stringify({CSS_PREFIX: 'tui-full-calendar-'});
...
module: {
rules: [
{
test: /\.styl$/,
use: [
`preprocess-loader?${context}`,
'css-loader',
'stylus-loader'
module.exports = {
entry: ['./src/sass/index.scss', './src/ts/index.ts'],
...
};
import Month from './month';
import Week from './week';
{
"compilerOptions": {
"plugins": [
{
"transform": "typescript-transform-paths"
}
]
}
}
import Month from '@src/month';
import Week from '@src/week';
{
"compilerOptions": {
"noImplicitAny": true,
"target": "es6",
"jsx": "react",
"jsxFactory": "h",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"outDir": "dist/esm/",
{
"compilerOptions": {
"noImplicitAny": true,
"target": "es5",
"jsx": "react",
"jsxFactory": "h",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"baseUrl": ".",
/**
* @class Calendar Calendar View
*/
export default class Calendar {}
{
"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"
},
{
"eslint.validate": [
{
"language": "typescript",
"autoFix": true
},
{
"language": "typescriptreact",
"autoFix": true
}