Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Commit

Permalink
abolish babel plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-takei committed Dec 3, 2018
1 parent 003b430 commit 5991e67
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
"react"
],
"plugins": [
"add-module-exports",
"transform-class-properties"
],
"env": {
"development": {
Expand Down
4 changes: 2 additions & 2 deletions src/client-entry.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { LsxPreRenderInterceptor } from './resource/js/util/Interceptor/LsxPreRenderInterceptor';
import { LsxPostRenderInterceptor } from './resource/js/util/Interceptor/LsxPostRenderInterceptor';

export default (crowi, crowiRenderer) => {
module.exports = (crowi, crowiRenderer) => {
// add interceptors
crowi.interceptorManager.addInterceptors([
new LsxPreRenderInterceptor(crowi),
new LsxPostRenderInterceptor(crowi),
]);
}
};
4 changes: 0 additions & 4 deletions src/resource/js/components/PageNode.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
export class PageNode {

pagePath;
page;
children;

constructor(pagePath) {
this.pagePath = pagePath;
this.children = [];
Expand Down

0 comments on commit 5991e67

Please sign in to comment.