From b72b6fb4bcb6ed4e285525009e15767f47c3e137 Mon Sep 17 00:00:00 2001 From: Malte Wessel Date: Sun, 15 Dec 2019 11:42:59 +0100 Subject: [PATCH] use actual bassdrum package in hotels example --- examples/hotels/package.json | 1 + examples/hotels/tsconfig.json | 3 --- examples/hotels/webpack.config.js | 5 ----- examples/hotels/yarn.lock | 4 ++++ 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/examples/hotels/package.json b/examples/hotels/package.json index bdb881e..0ca022a 100644 --- a/examples/hotels/package.json +++ b/examples/hotels/package.json @@ -27,6 +27,7 @@ "dependencies": { "@types/classnames": "^2.2.9", "@types/lodash": "^4.14.148", + "bassdrum": "^1.2.0", "lodash": "^4.17.15", "preact": "^10.0.5", "rxjs": "^6.5.3" diff --git a/examples/hotels/tsconfig.json b/examples/hotels/tsconfig.json index 7ab576f..8f82ed8 100644 --- a/examples/hotels/tsconfig.json +++ b/examples/hotels/tsconfig.json @@ -16,9 +16,6 @@ "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "pretty": true, - "paths": { - "bassdrum": ["../../build"] - }, "lib": ["es2017", "dom"] }, "include": ["src/**/*.ts", "src/**/*.tsx"], diff --git a/examples/hotels/webpack.config.js b/examples/hotels/webpack.config.js index 30ada3d..3f24205 100644 --- a/examples/hotels/webpack.config.js +++ b/examples/hotels/webpack.config.js @@ -1,5 +1,3 @@ -const path = require('path'); - module.exports = { entry: './src/index.tsx', module: { @@ -41,9 +39,6 @@ module.exports = { }, resolve: { extensions: ['.js', '.jsx', '.ts', '.tsx', '.css', '.scss'], - alias: { - bassdrum: path.resolve(__dirname, '../../build'), - }, }, output: { path: __dirname + '/public', diff --git a/examples/hotels/yarn.lock b/examples/hotels/yarn.lock index 54cc284..394dbad 100644 --- a/examples/hotels/yarn.lock +++ b/examples/hotels/yarn.lock @@ -1094,6 +1094,10 @@ base@^0.11.1: mixin-deep "^1.2.0" pascalcase "^0.1.1" +bassdrum@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/bassdrum/-/bassdrum-1.2.0.tgz#5eeae5d39a5489cecd4dbd62f7ded8b668f5ec4c" + batch@0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16"