Skip to content

Staging assets:precompile is incredibly slow on 4.0.0-pre.3 #1785

@schuylr

Description

@schuylr

When upgrading from v3.5.5 to v4.0.0.pre.3 to test the pre-release, I noticed that my staging deploy went from taking approx 10-15 minutes to over 2 hours, stuck on the assets:precompile step after Sprockets has completed.

Production deploy is untested.

Would be happy to share any necessary files. Here's my .babelrc if it helps:

{
  "presets": [
    [
      "@babel/preset-env",
      {
        "modules": false,
        "forceAllTransforms": true,
        "useBuiltIns": "entry"
      }
    ],
    "@babel/preset-react"
  ],
  "plugins": [
    "@babel/plugin-transform-destructuring",
    "@babel/plugin-syntax-dynamic-import",
    [
      "@babel/plugin-proposal-object-rest-spread",
      {
        "useBuiltIns": true
      }
    ],
    [
      "@babel/plugin-transform-runtime",
      {
        "helpers": false,
        "regenerator": true
      }
    ],
    [
      "@babel/plugin-transform-regenerator",
      {
        "async": false
      }
    ],
    [
      "@babel/plugin-proposal-class-properties",
      {
        "loose": true
      }
    ]
  ]
}

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