Skip to content

Commit 4b70bb9

Browse files
committed
copied dev.config.js out of node_modules
1 parent 2771fc5 commit 4b70bb9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

jbrowse/dev.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
*/
66
// COPY THIS FILE TO node_modules/@labkey/build/webpack/dev.config.js
77
const lkModule = process.env.LK_MODULE;
8-
const entryPoints = require('../../../../src/client/entryPoints');
9-
const constants = require('./constants');
8+
const entryPoints = require('./src/client/entryPoints');
9+
const constants = require('./node_modules/@labkey/build/webpack/constants');
1010
const webpack = require('webpack');
1111
const NodePolyfillPlugin = require("node-polyfill-webpack-plugin")
1212

jbrowse/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"setup": "npm ci",
77
"build": "npm run build-dev",
88
"start": "cross-env NODE_ENV=development LK_MODULE_CONTAINER=DiscvrLabKeyModules LK_MODULE=jbrowse webpack-dev-server --config node_modules/@labkey/build/webpack/watch.config.js",
9-
"build-dev": "npm run clean && cross-env NODE_ENV=development LK_MODULE_CONTAINER=DiscvrLabKeyModules LK_MODULE=jbrowse webpack --config node_modules/@labkey/build/webpack/dev.config.js --progress --profile",
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",
1010
"build-prod": "npm run clean && cross-env NODE_ENV=production PROD_SOURCE_MAP=source-map LK_MODULE_CONTAINER=DiscvrLabKeyModules LK_MODULE=jbrowse webpack --config node_modules/@labkey/build/webpack/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"

0 commit comments

Comments
 (0)