-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
put the nextMeetupTime function in MapSidebar (#111)
* put the next meetup time function in the mapSidebar * solved the errors that I got * had to solve more errors * Put the next ceremony date in a more presentable place * [MapSidebar] made the Time when the Ceremony starts visible * [MapSidebar] console.log is in the getNextMeetupDate function * [MapSidebar] Put the timezone in the getNextMeetupDate function * committing the mapbox module * let's see if this fixes the problem * testing if putting it in package.json will solve the problem * This should solve the problem that we had * fix timezone for meetup time * cleanup --------- Co-authored-by: brenzi <brenzi@users.noreply.github.com> Co-authored-by: Alain Brenzikofer <alain@integritee.network>
- Loading branch information
1 parent
31687eb
commit f559e63
Showing
17 changed files
with
239 additions
and
14 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
// const path = require("path"); | ||
const path = require("path"); | ||
const HtmlWebpackPlugin = require("html-webpack-plugin"); | ||
const CopyWebpackPlugin = require("copy-webpack-plugin"); | ||
const webpack = require("webpack"); | ||
const NodePolyfillPlugin = require("node-polyfill-webpack-plugin"); | ||
|
||
module.exports = { | ||
mode: "development", | ||
target: "web", | ||
entry: ["regenerator-runtime/runtime", "./src/index.js"], | ||
output: { | ||
filename: "bundle.js", | ||
path: path.join(__dirname, "dist"), | ||
publicPath: "/", | ||
}, | ||
resolve: { | ||
extensions: [".js", ".css"], | ||
alias: { | ||
// add as many aliases as you like! | ||
components: path.resolve(__dirname, "src/components"), | ||
}, | ||
|
||
//****************** INSTEAD OF MANUALLY INSTALLING YOU CAN USE NodePolyfillPlugin */ | ||
|
||
// fallback: { | ||
// // path: require.resolve("path-browserify"), | ||
// fs: false, | ||
// assert: require.resolve("assert/"), | ||
// os: require.resolve("os-browserify/browser"), | ||
// constants: require.resolve("constants-browserify"), | ||
// stream: require.resolve("stream-browserify"), | ||
// crypto: require.resolve("crypto-browserify"), | ||
// http: require.resolve("stream-http"), | ||
// https: require.resolve("https-browserify"), | ||
// }, | ||
}, | ||
// devtool: "eval-cheap-source-map", | ||
devtool: "eval", | ||
module: { | ||
rules: [ | ||
{ test: /\.(js|jsx)/, loader: "babel-loader", exclude: /node_modules/ }, | ||
{ test: /\.css$/, use: ["style-loader", "css-loader"] }, | ||
// { | ||
// test: /\.m?js/, | ||
// resolve: { | ||
// fullySpecified: false | ||
// } | ||
// }, | ||
{ | ||
test: /\.(woff(2)?|ttf|eot|jpg|jpeg|png|gif)(\?v=\d+\.\d+\.\d+)?$/, | ||
use: [ | ||
{ | ||
loader: "file-loader", | ||
options: { | ||
name: "[name].[contenthash].[ext]", | ||
outputPath: "fonts/", | ||
}, | ||
}, | ||
], | ||
}, | ||
{ | ||
test: /\.svg$/, | ||
use: [ | ||
{ | ||
loader: "svg-url-loader", | ||
options: { | ||
limit: 10000, | ||
}, | ||
}, | ||
], | ||
}, | ||
{ | ||
test: /\.json5$/i, | ||
loader: "json5-loader", | ||
type: "javascript/auto", | ||
options: { | ||
esModule: true, | ||
}, | ||
}, | ||
], | ||
}, | ||
devServer: { | ||
contentBase: path.join(__dirname, "build"), | ||
historyApiFallback: true, | ||
overlay: true, | ||
}, | ||
|
||
plugins: [ | ||
new HtmlWebpackPlugin({ | ||
title: "esBUild", | ||
template: "src/index.html", | ||
}), | ||
new NodePolyfillPlugin(), | ||
// new CopyWebpackPlugin({ | ||
// patterns: [{ from: "assets", to: "assets" }], | ||
// }), | ||
|
||
// *****************IF YOU ARE NOT USING NodePolyfillPlugin YOU HAVE TO ADD THIS **************** | ||
// new webpack.ProvidePlugin({ | ||
// process: "process/browser", | ||
// Buffer: ["buffer", "Buffer"], | ||
// React: "react", | ||
// }), | ||
], | ||
}; |
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