From da5aca440195c1969f5eece4b21bd1739c26c572 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 7 Apr 2021 10:01:46 +0300 Subject: [PATCH] #23 update reference for source->src --- .editorconfig | 2 +- README.md | 8 ++++---- webpack.config.js | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.editorconfig b/.editorconfig index 70deb71e06..d95de21bdc 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -[source/**.js] +[src/**.js] quote_type = double indent_style = space indent_size = 2 diff --git a/README.md b/README.md index ccde2bc886..0a5c9e16ea 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ The extension implements the WebLN standard. The goal is to write a miminmal int The extension can connect to different node implementation and supports custodial and non-custodial setups. E.g.: -- [remote LND](https://github.com/bumi/lightning-browser-extension/blob/master/source/lib/connectors/lnd.js) -- [Local native companion apps](https://github.com/bumi/lightning-browser-extension/blob/master/source/lib/connectors/native.js) (e.g. zaphq or native wallet apps) -- [LNBits](https://github.com/bumi/lightning-browser-extension/blob/master/source/lib/connectors/lnbits.js) -- [LNDHub](https://github.com/bumi/lightning-browser-extension/blob/master/source/lib/connectors/lndhub.js) +- [remote LND](https://github.com/bumi/lightning-browser-extension/blob/master/src/lib/connectors/lnd.js) +- [Local native companion apps](https://github.com/bumi/lightning-browser-extension/blob/master/src/lib/connectors/native.js) (e.g. zaphq or native wallet apps) +- [LNBits](https://github.com/bumi/lightning-browser-extension/blob/master/src/lib/connectors/lnbits.js) +- [LNDHub](https://github.com/bumi/lightning-browser-extension/blob/master/src/lib/connectors/lndhub.js) - ... ## Architecture idea diff --git a/webpack.config.js b/webpack.config.js index d1a5cb08e7..61388cdf89 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -11,7 +11,7 @@ const WextManifestWebpackPlugin = require("wext-manifest-webpack-plugin"); const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin"); const viewsPath = path.join(__dirname, "views"); -const sourcePath = path.join(__dirname, "source"); +const sourcePath = path.join(__dirname, "src"); const destPath = path.join(__dirname, "extension"); const nodeEnv = process.env.NODE_ENV || "development"; const targetBrowser = process.env.TARGET_BROWSER; @@ -193,7 +193,7 @@ module.exports = { new MiniCssExtractPlugin({ filename: "css/[name].css" }), // copy static assets new CopyWebpackPlugin({ - patterns: [{ from: "source/assets", to: "assets" }], + patterns: [{ from: "src/assets", to: "assets" }], }), // plugin to enable browser reloading in development mode extensionReloaderPlugin,