@easyquery/locales 7.2.5-beta01 → 7.2.5-rc02

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/webpack.config.js DELETED
@@ -1,98 +0,0 @@
1
- const path = require("path");
2
- const TerserPlugin = require('terser-webpack-plugin');
3
- const TypedocWebpackPlugin = require('@olton/typedoc-webpack-plugin');
4
- const webpack = require('webpack');
5
-
6
- let confBundles = {
7
- entry: {
8
- "easyquery.locales": "./src/public_api.ts",
9
- "easyquery.locales.min": "./src/public_api.ts"
10
- },
11
- devtool: 'source-map',
12
- stats: {warnings:false},
13
- output: {
14
- library: "easyqueryLocales",
15
- path: path.resolve(__dirname, 'dist/bundles'),
16
- filename: "[name].js",
17
- umdNamedDefine: true,
18
- libraryTarget: 'umd'
19
- },
20
- externals: {
21
- "@easyquery/core": "easyqueryCore"
22
- },
23
- resolve: {
24
- extensions: [".js", ".ts"]
25
- },
26
- module: {
27
- rules: [
28
- {
29
- test: /\.ts$/,
30
- use: "ts-loader"
31
- }
32
- ]
33
- },
34
- optimization: {
35
- minimizer: [new TerserPlugin({
36
- include: /\.min\.js$/,
37
- terserOptions: {
38
- sourceMap: true,
39
- compress: {
40
- pure_funcs: ['console.log', 'console.info', 'console.debug']
41
- }
42
- }
43
- })]
44
- },
45
- plugins: [
46
- new TypedocWebpackPlugin({
47
- json: '../../../../docs/locales.json',
48
- out: "docs",
49
- entryPoints: ["./src/**/*.ts"],
50
- tsconfig: "tsconfig.json",
51
- compilerOptions: {}
52
- })
53
- ]
54
- };
55
-
56
- let confBrowser = {
57
- entry: {
58
- "eq.locale-ru": [
59
- "./lang_entries/entry_ru.js"
60
- ],
61
- "eq.locale-es": [
62
- "./lang_entries/entry_es.js"
63
- ],
64
- },
65
- stats: {warnings:false},
66
- devtool: "source-map",
67
- resolve: {
68
- extensions: [".js", ".css"]
69
- },
70
- output: {
71
- library: "easyqueryLocales",
72
- path: path.resolve(__dirname, 'dist/browser'),
73
- filename: "[name].js",
74
- libraryTarget: 'window',
75
- libraryTarget: 'umd'
76
- },
77
- module: {
78
- rules: [
79
- ]
80
- },
81
- optimization: {
82
- minimizer: [new TerserPlugin({
83
- include: /\.min\.js$/,
84
- extractComments: true,
85
- terserOptions: {
86
- sourceMap: true,
87
- compress: {
88
- pure_funcs: ['console.log', 'console.info', 'console.debug']
89
- }
90
- }
91
- })]
92
- },
93
- plugins: [
94
- ]
95
- }
96
-
97
-
98
- module.exports = [confBundles, confBrowser];
File without changes
File without changes