mirror of
https://github.com/ustc-zzzz/mcbbs-markdown2bbcode-converter.git
synced 2024-11-21 01:10:50 +08:00
Compile to es modules for tree shaking
This commit is contained in:
parent
2589fa323a
commit
72043d30fe
@ -1,11 +1,12 @@
|
||||
import * as React from 'react'
|
||||
import * as Clipboard from 'clipboard'
|
||||
|
||||
import * as Index from '../index'
|
||||
import * as Style from '../index.css'
|
||||
|
||||
import * as Core from '@material-ui/core'
|
||||
|
||||
import Clipboard from 'clipboard'
|
||||
|
||||
import Config from './Config'
|
||||
|
||||
interface HeaderProps {
|
||||
|
@ -1,15 +1,15 @@
|
||||
import * as React from 'react'
|
||||
import * as ReactDOM from 'react-dom'
|
||||
|
||||
import * as Styles from '@material-ui/core/styles'
|
||||
|
||||
import Marked from 'marked'
|
||||
|
||||
import Main from './component/Main'
|
||||
import Header from './component/Header'
|
||||
|
||||
import * as RendererConfig from './config/Renderer.json'
|
||||
import * as ImageCollection from './config/ImageCollection.json'
|
||||
|
||||
import * as Marked from 'marked'
|
||||
import * as Colors from '@material-ui/core/colors'
|
||||
import * as Styles from '@material-ui/core/styles'
|
||||
import RendererConfig from './config/Renderer.json'
|
||||
import ImageCollection from './config/ImageCollection.json'
|
||||
|
||||
export interface RenderConfigCollection {
|
||||
[key: string]: {
|
||||
|
@ -2,7 +2,7 @@
|
||||
"compilerOptions": {
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"module": "commonjs",
|
||||
"esModuleInterop": true,
|
||||
"sourceMap": true,
|
||||
"target": "es6",
|
||||
"strict": true,
|
||||
|
Loading…
Reference in New Issue
Block a user