mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-25 16:19:44 +02:00
Upgrade packages (#149)
* update babel, postcss and webpack * update editor packages * update linter packages
This commit is contained in:
parent
34514761f5
commit
8d9c19e595
18 changed files with 5014 additions and 3578 deletions
|
@ -1,9 +1,10 @@
|
|||
// No inspection for unused var `css` because it's used for css bundle
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
import css from '../styles/main.pcss';
|
||||
import '../styles/main.pcss';
|
||||
|
||||
/**
|
||||
* Module Dispatcher
|
||||
*
|
||||
* @see {@link https://github.com/codex-team/moduleDispatcher}
|
||||
* @author CodeX
|
||||
*/
|
||||
|
@ -21,7 +22,7 @@ import Extensions from './modules/extensions';
|
|||
*/
|
||||
class Docs {
|
||||
/**
|
||||
* @constructor
|
||||
* @class
|
||||
*/
|
||||
constructor() {
|
||||
this.writing = new Writing();
|
||||
|
@ -40,7 +41,7 @@ class Docs {
|
|||
*/
|
||||
docReady() {
|
||||
this.moduleDispatcher = new ModuleDispatcher({
|
||||
Library: window.Docs
|
||||
Library: this,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,8 +3,8 @@ import javascript from 'highlight.js/lib/languages/javascript';
|
|||
import xml from 'highlight.js/lib/languages/xml';
|
||||
import json from 'highlight.js/lib/languages/json';
|
||||
import css from 'highlight.js/lib/languages/css';
|
||||
import style from 'highlight.js/styles/github.css'; // eslint-disable-line no-unused-vars
|
||||
import diffStyles from '../../styles/diff.pcss'; // eslint-disable-line no-unused-vars
|
||||
import 'highlight.js/styles/github.css';
|
||||
import '../../styles/diff.pcss';
|
||||
|
||||
/**
|
||||
* @class CodeStyles
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue