update build due to changes in webpack and react-intl
This commit is contained in:
@@ -1,9 +1,4 @@
|
|||||||
{
|
{
|
||||||
"presets": ["@babel/preset-react", "@babel/preset-env"],
|
"presets": ["@babel/preset-react", "@babel/preset-env"],
|
||||||
"comments": false,
|
"comments": false,
|
||||||
"plugins": [
|
|
||||||
["react-intl", {
|
|
||||||
"messagesDir": "./src/i18n/"
|
|
||||||
}]
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -24,7 +24,7 @@
|
|||||||
<link rel="stylesheet" href="css/base.min.css" />
|
<link rel="stylesheet" href="css/base.min.css" />
|
||||||
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react@17.0.1/umd/react.production.min.js"></script>
|
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react@17.0.1/umd/react.production.min.js"></script>
|
||||||
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react-dom@17.0.1/umd/react-dom.production.min.js"></script>
|
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react-dom@17.0.1/umd/react-dom.production.min.js"></script>
|
||||||
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react-intl@5.10.9/dist/react-intl.min.js"></script>
|
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/react-intl@5.10.14/dist/react-intl.min.js"></script>
|
||||||
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/firebase@7.24.0/firebase-app.js"></script>
|
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/firebase@7.24.0/firebase-app.js"></script>
|
||||||
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/firebase@7.24.0/firebase-messaging.js"></script>
|
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/firebase@7.24.0/firebase-messaging.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Generated
+1038
-494
File diff suppressed because it is too large
Load Diff
+8
-9
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "tinode-webapp",
|
"name": "tinode-webapp",
|
||||||
"description": "Tinode messenger for the web",
|
"description": "Tinode messenger for the web",
|
||||||
"version": "0.16.9",
|
"version": "0.16.10",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/tinode/example-react-js.git"
|
"url": "https://github.com/tinode/example-react-js.git"
|
||||||
@@ -60,22 +60,21 @@
|
|||||||
"firebase": "^7.24.0",
|
"firebase": "^7.24.0",
|
||||||
"react": "^17.0.1",
|
"react": "^17.0.1",
|
||||||
"react-dom": "^17.0.1",
|
"react-dom": "^17.0.1",
|
||||||
"react-intl": "^5.10.9",
|
"react-intl": "^5.10.14",
|
||||||
"tinode-sdk": "^0.16.9"
|
"tinode-sdk": "^0.16.10"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.12.10",
|
"@babel/core": "^7.12.10",
|
||||||
"@babel/preset-env": "^7.12.11",
|
"@babel/preset-env": "^7.12.11",
|
||||||
"@babel/preset-react": "^7.12.10",
|
"@babel/preset-react": "^7.12.10",
|
||||||
|
"@formatjs/cli": "^3.0.1",
|
||||||
"babel-loader": "^8.2.2",
|
"babel-loader": "^8.2.2",
|
||||||
"babel-plugin-react-intl": "^8.2.22",
|
"browserslist": "^4.16.1",
|
||||||
"browserslist": "^4.16.0",
|
|
||||||
"copy-webpack-plugin": "^6.4.1",
|
"copy-webpack-plugin": "^6.4.1",
|
||||||
"cssnano": "^4.1.10",
|
"cssnano": "^4.1.10",
|
||||||
"postcss": "^8.2.1",
|
"postcss": "^8.2.4",
|
||||||
"postcss-cli": "^8.3.1",
|
"postcss-cli": "^8.3.1",
|
||||||
"terser-webpack-plugin": "^5.0.3",
|
"webpack": "^5.13.0",
|
||||||
"webpack": "^5.11.0",
|
"webpack-cli": "^4.3.1"
|
||||||
"webpack-cli": "^4.3.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
// This is a generated file. Don't edit.
|
// This is a generated file. Don't edit.
|
||||||
|
|
||||||
export const PACKAGE_VERSION = "0.16.9";
|
export const PACKAGE_VERSION = "0.16.10";
|
||||||
|
|||||||
+1
-10322
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-7576
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+6
-2
@@ -13,7 +13,7 @@ module.exports = (env, argv) => {
|
|||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /\.jsx?$/,
|
test: /\.jsx?$/,
|
||||||
loaders: [
|
use: [
|
||||||
'babel-loader',
|
'babel-loader',
|
||||||
],
|
],
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
@@ -26,14 +26,17 @@ module.exports = (env, argv) => {
|
|||||||
publicPath: '/umd/'
|
publicPath: '/umd/'
|
||||||
},
|
},
|
||||||
optimization: {
|
optimization: {
|
||||||
|
minimize: true,
|
||||||
minimizer: [
|
minimizer: [
|
||||||
new TerserPlugin({
|
new TerserPlugin({
|
||||||
sourceMap: true,
|
|
||||||
terserOptions: {
|
terserOptions: {
|
||||||
ecma: undefined,
|
ecma: undefined,
|
||||||
warnings: false,
|
warnings: false,
|
||||||
parse: {},
|
parse: {},
|
||||||
compress: {},
|
compress: {},
|
||||||
|
format: {
|
||||||
|
comments: false,
|
||||||
|
},
|
||||||
mangle: true, // Note `mangle.properties` is `false` by default.
|
mangle: true, // Note `mangle.properties` is `false` by default.
|
||||||
module: false,
|
module: false,
|
||||||
output: null,
|
output: null,
|
||||||
@@ -44,6 +47,7 @@ module.exports = (env, argv) => {
|
|||||||
keep_fnames: false,
|
keep_fnames: false,
|
||||||
safari10: false,
|
safari10: false,
|
||||||
},
|
},
|
||||||
|
extractComments: false,
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user