@oroinc/oro-webpack-config-builder 6.1.0-lts12 → 6.1.0-lts14
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/oro-webpack-config.js +6 -1
- package/package.json +2 -1
package/oro-webpack-config.js
CHANGED
|
@@ -32,6 +32,7 @@ const SVGSprite = require('./svg-sprite');
|
|
|
32
32
|
const TerserPlugin = require('terser-webpack-plugin');
|
|
33
33
|
const jsToSCSS = require('./js-to-scss');
|
|
34
34
|
require('resolve-url-loader');
|
|
35
|
+
require('lezer-loader');
|
|
35
36
|
|
|
36
37
|
class ConfigBuilder {
|
|
37
38
|
constructor() {
|
|
@@ -341,9 +342,13 @@ class ConfigBuilder {
|
|
|
341
342
|
limit: 1,
|
|
342
343
|
emitFile: true,
|
|
343
344
|
outputPath: '../_static/',
|
|
344
|
-
publicPath: '
|
|
345
|
+
publicPath: '/build/_static/',
|
|
345
346
|
name: this._getVersionedPath('[path][name].[ext]', this.assetVersion)
|
|
346
347
|
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
test: /\.grammar$/,
|
|
351
|
+
use: 'lezer-loader'
|
|
347
352
|
}
|
|
348
353
|
]
|
|
349
354
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oroinc/oro-webpack-config-builder",
|
|
3
|
-
"version": "6.1.0-
|
|
3
|
+
"version": "6.1.0-lts14",
|
|
4
4
|
"author": "Oro, Inc. (https://oroinc.com)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "An integration of OroPlatform based applications with the Webpack.",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"html-webpack-plugin": "~5.5.0",
|
|
26
26
|
"imports-loader": "~4.0.1",
|
|
27
27
|
"js-yaml": "~4.1.0",
|
|
28
|
+
"lezer-loader": "^0.3.0",
|
|
28
29
|
"mini-css-extract-plugin": "~2.7.1",
|
|
29
30
|
"minimist": "~1.2.7",
|
|
30
31
|
"nan": "~2.17.0",
|