Skip to content

Commit

Permalink
feat(realworld): configure for conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
jwx committed Aug 15, 2019
1 parent 09ef559 commit c58b97d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions test/realworld/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@
},
"license": "MIT",
"dependencies": {
"@aurelia/debug": "file:../../packages/debug",
"@aurelia/fetch-client": "file:../../packages/fetch-client",
"@aurelia/jit-html": "file:../../packages/jit-html",
"@aurelia/jit-html-browser": "file:../../packages/jit-html-browser",
"@aurelia/jit": "file:../../packages/jit",
"@aurelia/kernel": "file:../../packages/kernel",
"@aurelia/runtime-html": "file:../../packages/runtime-html",
"@aurelia/runtime-html-browser": "file:../../packages/runtime-html-browser",
"@aurelia/runtime": "file:../../packages/runtime",
"@aurelia/router": "file:../../packages/router",
"@aurelia/debug": "dev",
"@aurelia/fetch-client": "dev",
"@aurelia/jit-html": "dev",
"@aurelia/jit-html-browser": "dev",
"@aurelia/jit": "dev",
"@aurelia/kernel": "dev",
"@aurelia/runtime-html": "dev",
"@aurelia/runtime-html-browser": "dev",
"@aurelia/runtime": "dev",
"@aurelia/router": "dev",
"promise-polyfill": "^8.1.3",
"marked": "^0.6.3",
"querystringify": "^2.1.1",
"date-fns": "^1.30.1"
},
"devDependencies": {
"@aurelia/webpack-loader": "dev",
"@types/marked": "^0.6.5",
"@types/node": "^12.0.0",
"@types/querystringify": "^2.0.0",
"css-loader": "^3.0.0",
"html-loader": "^0.5.0",
"html-webpack-plugin": "^3.0.0",
"htmlhint": "^0.11.0",
"rimraf": "^2.0.0",
Expand Down
6 changes: 3 additions & 3 deletions test/realworld/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = function(env, { mode }) {
const production = mode === 'production';
return {
mode: production ? 'production' : 'development',
devtool: production ? 'source-maps' : 'eval',
devtool: production ? 'source-maps' : 'inline-source-map',
entry: './src/main.ts',
resolve: {
extensions: ['.ts', '.js'],
Expand All @@ -19,8 +19,8 @@ module.exports = function(env, { mode }) {
module: {
rules: [
{ test: /\.css$/i, use: ["style-loader", "css-loader"] },
{ test: /\.ts$/i, loader: 'ts-loader', exclude: /node_modules/ },
{ test: /\.html$/i, loader: 'html-loader' }
{ test: /\.ts$/i, use: ['ts-loader', '@aurelia/webpack-loader'], exclude: /node_modules/ },
{ test: /\.html$/i, use: '@aurelia/webpack-loader', exclude: /node_modules/ }
]
},
plugins: [new HtmlWebpackPlugin({ template: 'index.ejs' })]
Expand Down

0 comments on commit c58b97d

Please sign in to comment.