-
-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/v3.0.0
- Loading branch information
Showing
43 changed files
with
11,435 additions
and
20,774 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
* text=auto eol=lf | ||
* text=auto eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* eslint-disable */ | ||
const path = require("path") | ||
const webpack = require("webpack") | ||
const DIST = path.resolve(__dirname, "../dist-web") | ||
const APP = path.resolve(__dirname, "../dist") | ||
|
||
module.exports = { | ||
entry: path.resolve(APP, "src/pact-web.js"), | ||
mode: "production", | ||
output: { | ||
path: DIST, | ||
library: "Pact", | ||
libraryTarget: "umd", | ||
umdNamedDefine: false, | ||
filename: "pact-web.js", | ||
}, | ||
resolve: { | ||
extensions: [".mjs", ".ts", ".tsx", ".js"], | ||
}, | ||
target: "web", | ||
node: { | ||
net: "empty", | ||
}, | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.tsx?$/, | ||
use: [ | ||
{ | ||
loader: "awesome-typescript-loader", | ||
}, | ||
], | ||
}, | ||
{ | ||
test: APP, | ||
exclude: /node_modules/, | ||
use: [ | ||
{ | ||
loader: "babel-loader", | ||
query: { | ||
presets: ["@babel/preset-env"], | ||
}, | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
|
||
plugins: [ | ||
new webpack.ProvidePlugin({ Promise: ["es6-promise", "Promise"] }), | ||
new webpack.DefinePlugin({ "global.GENTLY": false }), | ||
new webpack.IgnorePlugin(/vertx/), | ||
], | ||
devtool: "source-map", | ||
} |
Oops, something went wrong.