Skip to content

Commit d211d19

Browse files
committed
refactored and updated configs
1 parent 81ec41f commit d211d19

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
55
*/
66

7-
const devConfig = require('./node_modules/@labkey/build/webpack/dev.config')
7+
const devConfig = require('../node_modules/@labkey/build/webpack/dev.config')
88

9-
const entryPoints = require('./src/client/entryPoints');
10-
const constants = require('./node_modules/@labkey/build/webpack/constants');
9+
const entryPoints = require('../src/client/entryPoints');
10+
const constants = require('../node_modules/@labkey/build/webpack/constants');
1111
const webpack = require('webpack');
1212
const NodePolyfillPlugin = require("node-polyfill-webpack-plugin")
1313

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
55
*/
66

7-
const prodConfig = require('./node_modules/@labkey/build/webpack/prod.config')
7+
const prodConfig = require('../node_modules/@labkey/build/webpack/prod.config')
88

9-
const entryPoints = require('./src/client/entryPoints');
10-
const constants = require('./node_modules/@labkey/build/webpack/constants');
9+
const entryPoints = require('../src/client/entryPoints');
10+
const constants = require('../node_modules/@labkey/build/webpack/constants');
1111
const webpack = require('webpack');
1212
const NodePolyfillPlugin = require("node-polyfill-webpack-plugin")
1313

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
55
*/
66

7-
const watchConfig = require('./node_modules/@labkey/build/webpack/watch.config')
7+
const watchConfig = require('../node_modules/@labkey/build/webpack/watch.config')
88

9-
const entryPoints = require('./src/client/entryPoints');
10-
const constants = require('./node_modules/@labkey/build/webpack/constants');
9+
const entryPoints = require('../src/client/entryPoints');
10+
const constants = require('../node_modules/@labkey/build/webpack/constants');
1111
const webpack = require('webpack');
1212
const NodePolyfillPlugin = require("node-polyfill-webpack-plugin")
1313

jbrowse/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"scripts": {
66
"setup": "npm ci",
77
"build": "npm run build-dev",
8-
"start": "cross-env NODE_ENV=development LK_MODULE_CONTAINER=DiscvrLabKeyModules LK_MODULE=jbrowse webpack-dev-server --config watch.config.js",
9-
"build-dev": "npm run clean && cross-env NODE_ENV=development LK_MODULE_CONTAINER=DiscvrLabKeyModules LK_MODULE=jbrowse webpack --config dev.config.js --progress --profile",
10-
"build-prod": "npm run clean && cross-env NODE_ENV=production PROD_SOURCE_MAP=source-map LK_MODULE_CONTAINER=DiscvrLabKeyModules LK_MODULE=jbrowse webpack --config prod.config.js --progress --profile --colors",
8+
"start": "cross-env NODE_ENV=development LK_MODULE_CONTAINER=DiscvrLabKeyModules LK_MODULE=jbrowse webpack-dev-server --config config/watch.config.js",
9+
"build-dev": "npm run clean && cross-env NODE_ENV=development LK_MODULE_CONTAINER=DiscvrLabKeyModules LK_MODULE=jbrowse webpack --config config/dev.config.js --progress --profile",
10+
"build-prod": "npm run clean && cross-env NODE_ENV=production PROD_SOURCE_MAP=source-map LK_MODULE_CONTAINER=DiscvrLabKeyModules LK_MODULE=jbrowse webpack --config config/prod.config.js --progress --profile --colors",
1111
"clean": "rimraf resources/web/jbrowse/gen && rimraf resources/views/gen && rimraf resources/views/browser*",
1212
"test": "cross-env NODE_ENV=test jest"
1313
},

0 commit comments

Comments
 (0)