Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #508 from mattbrun/develop
Browse files Browse the repository at this point in the history
Corrected loaders and typo
  • Loading branch information
askmike authored Nov 24, 2016
2 parents d9411d9 + 3c20370 commit 051cf36
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion web/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --inline --hot",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
},
"dependencies": {},
"devDependencies": {
"babel-core": "^6.0.0",
"babel-loader": "^6.0.0",
Expand All @@ -21,6 +20,7 @@
"superagent-no-cache": "uditalias/superagent-no-cache",
"vue": "^2.0.1",
"vue-loader": "^9.7.0",
"vue-router": "^2.0.3",
"webpack": "^2.1.0-beta.25",
"webpack-dev-server": "^2.1.0-beta.0"
}
Expand Down
2 changes: 1 addition & 1 deletion web/vue/src/backtester/backtestConfigBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<script>
import datasetPicker from '../global/configbuilder/datasetPicker.vue'
import datasetPicker from '../global/configbuilder/datasetpicker.vue'
import stratPicker from '../global/configbuilder/stratpicker.vue'
import _ from 'lodash'
Expand Down
4 changes: 2 additions & 2 deletions web/vue/src/layout/footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</template>

<script>
const gekkoPackage = require('json!../../../../package.json');
const uiPackage = require('json!../../package.json');
const gekkoPackage = require('../../../../package.json');
const uiPackage = require('../../package.json');
export default {
data: () => {
Expand Down
10 changes: 7 additions & 3 deletions web/vue/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,26 @@ module.exports = {
rules: [
{
test: /\.vue$/,
loader: 'vue',
loader: 'vue-loader',
options: {
// vue-loader options go here
}
},
{
test: /\.js$/,
loader: 'babel',
loader: 'babel-loader',
exclude: /node_modules/
},
{
test: /\.(png|jpg|gif|svg)$/,
loader: 'file',
loader: 'file-loader',
options: {
name: '[name].[ext]?[hash]'
}
},
{
test: /\.json$/,
loader: 'json-loader'
}
]
},
Expand Down

0 comments on commit 051cf36

Please sign in to comment.