Hello! I’ve been working on this yesterday and tod...
# plugins
a
Hello! I’ve been working on this yesterday and today and now am able to build bundles using webpack through pants: https://github.com/compyman/pants-node One problem i’ve been having is trying to integrate this with my docker plugin: https://github.com/compyman/pants-docker I have added the package as a requirement & included it in the python_library dependencies but it isn’t able to import the
sendwave
module? this seems like i’ve just done something very dumb again but i’ve been brushing up against it all morning… anyway if anyone has any ideas I could use a fresh set of eyes
e
This fixes, but its not awesome:
Copy code
$ git diff
diff --git a/pants.toml b/pants.toml
index 693f598..7f41365 100644
--- a/pants.toml
+++ b/pants.toml
@@ -2,6 +2,9 @@
 [GLOBAL]
 pants_version="2.6.0"
 pythonpath = ["%(buildroot)s/pants_plugins"]
+plugins = [
+  "sendwave-pants-docker@https://github.com/compyman/pants-docker/releases/download/v0.04/sendwave-pants-docker-0.4.tar.gz",
+]
 backend_packages = [
                  "pants.backend.python",
                  "pants.backend.python.lint.docformatter",
@@ -14,4 +17,4 @@ backend_packages = [
 root_patterns = [
               "/pants_plugins",
               "/test_webpack",
-              ]
\ No newline at end of file
+              ]
Not awesome because I'm not sure how to de-dup that requirement with your requirements.txt entry for said same.
a
Oh wait that makes sense I think
Thank you!!!
❤️ 1