Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

Как сделать свой min.js вместе с js ? #70

Description

@artemyaz

Допустим, я использую сборщик для единственного JS файла

module.exports = {
input: './src/index.js',
output: {
js: './approveactivity.js',
},
adjustConfigPhp: false,
browserslist: true,
};

На выходе у меня получится один js файл ./approveactivity.js

Я могу использовать параметр minification: true - но на выходе будет тот же /approveactivity.js , только минифицированный.

Почему @bitrix/cli не делает мне два файла по стандарту Битрикса: /approveactivity.js и /approveactivity.min.js ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions