Skip to content

Commit

Permalink
General config cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslittle230 committed Feb 29, 2020
1 parent 9a2c70b commit 274bc58
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 19 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ scripts/execute_upload_federalist.sh
test/federalist/*.txt
test/*.st
yarn.lock
yarn-error.log
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "stork"
version = "0.5.0"
authors = ["James Little <[email protected]>"]
edition = "2018"
description = "Impossibly fast web search."
repository = "https://github.com/jameslittle230/stork"
license = "Apache-2.0"

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
"@open-wc/webpack-import-meta-loader": "^0.4.1",
"@wasm-tool/wasm-pack-plugin": "^0.4.2",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.0.3",
"eslint": "^6.1.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.10.0",
"eslint-loader": "^3.0.3",
"eslint-plugin-import": "^2.18.2",
"raw-loader": "^4.0.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.2",
"prettier": "^1.19.1",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.10"
},
Expand Down
17 changes: 1 addition & 16 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
const path = require("path");
const webpack = require("webpack");
const CopyPlugin = require("copy-webpack-plugin");
const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
const { CleanWebpackPlugin } = require("clean-webpack-plugin");

const dist = path.resolve(__dirname, "dist");
Expand All @@ -17,19 +14,7 @@ module.exports = {
library: "stork",
chunkFilename: "storkmodule-[id].js"
},
plugins: [
new CleanWebpackPlugin()
// new CopyPlugin(
// [
// path.resolve(__dirname, "static"),
// {
// from: path.resolve(__dirname, "pkg", "stork_bg.wasm"),
// to: "stork.wasm"
// }
// ],
// { copyUnmodified: true }
// )
],
plugins: [new CleanWebpackPlugin()],
module: {
rules: [
{
Expand Down

0 comments on commit 274bc58

Please sign in to comment.