mirror of
https://github.com/logos-messaging/js-rln.git
synced 2026-01-02 13:43:06 +00:00
add output folder
This commit is contained in:
parent
e6c84dc573
commit
f5e93d9672
@ -1,9 +1,14 @@
|
||||
const path = require("path");
|
||||
const webpack = require("webpack");
|
||||
const playwright = require('playwright');
|
||||
|
||||
process.env.CHROME_BIN = playwright.chromium.executablePath();
|
||||
process.env.FIREFOX_BIN = playwright.firefox.executablePath();
|
||||
|
||||
const output = {
|
||||
path: path.join(__dirname, "dist"),
|
||||
};
|
||||
|
||||
module.exports = function (config) {
|
||||
config.set({
|
||||
frameworks: ["webpack", "mocha"],
|
||||
@ -15,7 +20,7 @@ module.exports = function (config) {
|
||||
files: [
|
||||
"src/**/!(node).spec.ts",
|
||||
{
|
||||
pattern: `src/**/*`,
|
||||
pattern: `${output.path}/**/*`,
|
||||
watched: false,
|
||||
included: false,
|
||||
served: true,
|
||||
@ -34,6 +39,7 @@ module.exports = function (config) {
|
||||
}
|
||||
},
|
||||
webpack: {
|
||||
output,
|
||||
mode: "development",
|
||||
module: {
|
||||
rules: [{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user