Skip to content

Commit

Permalink
feat(BREAKING): Remove aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkr00t committed Mar 5, 2018
1 parent d4c24d4 commit 74c0ce5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/webpack/config-builder.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* @flow */

import path from "path";
import aliases from "./aliases";
import entry from "./entry";
import output from "./output";
Expand All @@ -21,8 +20,7 @@ export default function webpackConfigBuilder(params: AikParams): WebPackConfig {
module: { rules: rules(params) },
resolve: {
alias: aliases(params),
extensions: [".wasm", ".mjs", ".js", ".jsx", ".json"],
modules: [path.dirname(path.resolve(process.cwd(), params.filename)), "web_modules", "node_modules"]
extensions: [".wasm", ".mjs", ".js", ".jsx", ".json"]
}
};
}
1 change: 1 addition & 0 deletions tests/update-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ cd tests/heavy

if [ -d "examples" ]; then
cd examples
git checkout .
git pull
else
git clone https://github.com/d4rkr00t/aik-examples.git examples
Expand Down

0 comments on commit 74c0ce5

Please sign in to comment.