|
@@ -25,25 +25,6 @@ module.exports = {
|
|
|
{
|
|
|
test: path.resolve(__dirname, "node_modules/xss/dist/xss"),
|
|
|
use: "exports-loader?filterXSS,filterCSS"
|
|
|
- },
|
|
|
- {
|
|
|
- test: /\.(html|svg)$/,
|
|
|
- exclude: /node_modules/,
|
|
|
- use: [{
|
|
|
- loader: 'lodash-template-webpack-loader',
|
|
|
- options: {
|
|
|
- "escape": /\{\{\{([\s\S]+?)\}\}\}/g,
|
|
|
- "evaluate": /\{\[([\s\S]+?)\]\}/g,
|
|
|
- "interpolate": /\{\{([\s\S]+?)\}\}/g,
|
|
|
- // By default, template places the values from your data in the
|
|
|
- // local scope via the with statement. However, you can specify
|
|
|
- // a single variable name with the variable setting. This can
|
|
|
- // significantly improve the speed at which a template is able
|
|
|
- // to render.
|
|
|
- "variable": 'o',
|
|
|
- "prependFilenameComment": __dirname
|
|
|
- }
|
|
|
- }]
|
|
|
}, {
|
|
|
test: /LC_MESSAGES\/converse.po$/,
|
|
|
type: "json",
|