File tree Expand file tree Collapse file tree
contentcuration/contentcuration/frontend/channelEdit Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,16 +11,10 @@ import ReviewSelectionsPage from './views/ImportFromChannels/ReviewSelectionsPag
1111import EditModal from './components/edit/EditModal' ;
1212import ChannelDetailsModal from 'shared/views/channel/ChannelDetailsModal' ;
1313import ChannelModal from 'shared/views/channel/ChannelModal' ;
14- import TipTapEditor from 'shared/views/TipTapEditor/TipTapEditor/TipTapEditor.vue' ;
1514import { RouteNames as ChannelRouteNames } from 'frontend/channelList/constants' ;
1615
1716const router = new VueRouter ( {
1817 routes : [
19- {
20- path : '/editor-dev' ,
21- name : 'TipTapEditorDev' ,
22- component : TipTapEditor ,
23- } ,
2418 {
2519 name : RouteNames . TREE_ROOT_VIEW ,
2620 path : '/' ,
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ module.exports = (env = {}) => {
9090 } )
9191 }
9292
93- return merge ( base , {
93+ const config = merge ( base , {
9494 context : srcDir ,
9595 entry : {
9696 // Use arrays for every entry to allow for hot reloading.
@@ -103,7 +103,6 @@ module.exports = (env = {}) => {
103103 pdfJSWorker : [ 'pdfjs-dist/build/pdf.worker.entry.js' ] ,
104104 // Utility for taking screenshots inside an iframe sandbox
105105 htmlScreenshot : [ './shared/utils/htmlScreenshot.js' ] ,
106- editorDev : './editorDev/index.js' ,
107106 } ,
108107 output : {
109108 filename : dev ? '[name].js' : '[name]-[fullhash].js' ,
@@ -185,4 +184,8 @@ module.exports = (env = {}) => {
185184 ] ,
186185 stats : 'normal' ,
187186 } ) ;
187+ if ( dev ) {
188+ config . entry . editorDev = './editorDev/index.js' ;
189+ }
190+ return config ;
188191} ;
You can’t perform that action at this time.
0 commit comments