Closed joprice closed 4 years ago
I'm getting the error below when trying to use autoprefixer. I assume it's because the line here https://github.com/bazelbuild/rules_postcss/blob/master/internal/autoprefixer/build_defs.bzl#L41 doesn't include the workspace name.
autoprefixer
no such package 'internal/autoprefixer': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
Defining a local binary works:
postcss_binary( name = "autoprefixer", src = ":raw_styles", output_name = "styles.css", plugins = { "@build_bazel_rules_postcss//internal/autoprefixer": "", }, )
I'm getting the error below when trying to use
autoprefixer
. I assume it's because the line here https://github.com/bazelbuild/rules_postcss/blob/master/internal/autoprefixer/build_defs.bzl#L41 doesn't include the workspace name.Defining a local binary works: