@bigbinary/neeto-commons-frontend 4.13.0-beta.0 → 4.13.0-beta.2
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/configs/esbuild/index.js +2 -0
- package/package.json +3 -1
package/configs/esbuild/index.js
CHANGED
|
@@ -2,6 +2,7 @@ const path = require("path");
|
|
|
2
2
|
|
|
3
3
|
const commonResolve = require("@bigbinary/neeto-commons-frontend/configs/webpack/resolve.js");
|
|
4
4
|
const dotenv = require("dotenv");
|
|
5
|
+
const svgPlugin = require("esbuild-plugin-svgr");
|
|
5
6
|
const rails = require("esbuild-rails");
|
|
6
7
|
const { sassPlugin } = require("esbuild-sass-plugin");
|
|
7
8
|
const postcss = require("postcss");
|
|
@@ -44,6 +45,7 @@ const config = {
|
|
|
44
45
|
rails(),
|
|
45
46
|
prevalPlugin(),
|
|
46
47
|
babelPlugin(),
|
|
48
|
+
svgPlugin(),
|
|
47
49
|
sassPlugin({
|
|
48
50
|
async transform(source) {
|
|
49
51
|
const { css } = await postcss(postCssConfig.plugins).process(source);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-commons-frontend",
|
|
3
|
-
"version": "4.13.0-beta.
|
|
3
|
+
"version": "4.13.0-beta.2",
|
|
4
4
|
"description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
|
@@ -143,6 +143,7 @@
|
|
|
143
143
|
"dayjs": "1.11.10",
|
|
144
144
|
"dompurify": "^2.4.0",
|
|
145
145
|
"esbuild": "^0.24.0",
|
|
146
|
+
"esbuild-plugin-svgr": "^3.1.0",
|
|
146
147
|
"esbuild-rails": "^1.0.7",
|
|
147
148
|
"esbuild-sass-plugin": "^3.3.1",
|
|
148
149
|
"eslint": "8.14.0",
|
|
@@ -231,6 +232,7 @@
|
|
|
231
232
|
"dompurify": "^2.4.0",
|
|
232
233
|
"dotenv-webpack": "^8.0.1",
|
|
233
234
|
"esbuild": "^0.24.0",
|
|
235
|
+
"esbuild-plugin-svgr": "^3.1.0",
|
|
234
236
|
"esbuild-rails": "^1.0.7",
|
|
235
237
|
"esbuild-sass-plugin": "^3.3.1",
|
|
236
238
|
"formik": "2.2.9",
|