Push changes up to switch PCs

This commit is contained in:
dannyrb committed 2019-07-11 13:12:37 -04:00
1 parent c05058a0f5
commit 2fbbb4a8e2
10 files changed
+195 -144

No files matched your search

+11 -6
View File
@@ -5,6 +5,7 @@ const common = require('./webpack.common');
const SRC_DIR = path.join(__dirname, '../src');
const DIST_DIR = path.join(__dirname, '../dist');
const INDEX = path.join(DIST_DIR, 'index.html');
module.exports = (env, argv) => {
const commonConfig = common(env, argv);
@@ -14,8 +15,8 @@ module.exports = (env, argv) => {
devtool: 'cheap-module-source-map',
output: {
path: DIST_DIR,
filename: 'bundle.js',
publicPath: '/public/',
publicPath: '/',
filename: '[name].bundle.js',
},
module: {
rules: [
@@ -46,12 +47,16 @@ module.exports = (env, argv) => {
},
plugins: [new webpack.HotModuleReplacementPlugin()],
devServer: {
hot: true,
// hot: true,
inline: true,
compress: true,
contentBase: DIST_DIR,
port: 3000,
compress: false,
// contentBase: DIST_DIR,
open: true,
port: 3001,
writeToDisk: true,
historyApiFallback: {
index: '/',
},
},
});
};
-8
View File
@@ -16,14 +16,6 @@
<title>OHIF Viewer</title>
<!-- Latest compiled and minified CSS -->
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous"
/>
<!-- WEB FONTS -->
<link
href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700|Sanchez&display=swap"
+2
View File
@@ -31,6 +31,8 @@ const appDefaults = {
relativeWebWorkerScriptsPath: '',
};
console.log(OHIFVTKExtension);
if (window) {
config = window.config || {};
config.extensions = [