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.

Не генерируется js.map #65

Description

@VictorKrasnov

Что делать, если после сборки в консоли стабильно выдает ошибку:

[Error] Failed to load resource: the server responded with a status of 403 (Forbidden) (otbor.bundle.js.map, line 0)

Вот такой у меня bundle.config.js:

constvuePlugin=require('rollup-plugin-vue');constcommonjs=require('rollup-plugin-commonjs');constalias=require('rollup-plugin-alias');constpath=require('path');constprojectRootDir=path.resolve(__dirname);module.exports={input: 'src/otbor.js',output: 'dist/otbor.bundle.js',namespace: 'BX.otbor',plugins: {resolve: true,custom: [vuePlugin(),commonjs(),alias({resolve: ['.js','.vue'],entries: [{find: 'vue',replacement: projectRootDir+'/node_modules/vue/dist/vue.js'}]})],}};

И такой config.php:

<?phpif (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true)
{
die();
}
return [
'css' => 'dist/otbor.bundle.css',
'js' => 'dist/otbor.bundle.js',
'rel' => [
'main.polyfill.core',
'v-debounce',
],
'skip_core' => true,
];

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