As I mentioned in an earlier post, I’m trying to build a jira server app that can load ES6 .js modules.
Having followed this Atlas Camp 2018 talk, I’m finding it difficult to follow along. For context I’ve extracted the git repo, rolled the commit back to ‘STEP 8.1’, run
yarn to install the dependencies and then
atlas-run to build the package. It seems to finish building without any fundamental errors, but I’m a little lost after that.
My questions are:
- I’m assuming this setup doesn’t include the actual installation of a Jira dev environment, as opposed to the SDK tutorials that build and serve an instance at
http://localhost:2990/jira. Is this something I add into the pom.xml file, or do I need to configure the webpack too? I’ve tried adding a
jira-software application under
build > plugins > plugin but to no avail
- The webpack.config.js file mentions the devServerPort variable is set to 3333, so I’m assuming once everything is setup the instance will be available at
http://localhost:3333/jira. Is that true?
Any help / guidance here would be most appreciated! All I want is to see a Hello World jira plugin that I can start adding ES6 modules to.
I am not sure I understand your question completely, but I just try to answer it as well as I can.
Does this make sense?
An example of how it is being used can be seen in the refapp-example of the clientside-extensions repository, where we make use of the webpack-plugin for a demo app:
I hope that gives you some idea of how this works?
The instance will start as usual on
http://localhost:2990/jira. When you go to the URL where you expect to see the plugin on this instance, Jira will load resource files for this plugin from the Webpack server, which is running at
http://localhost:3333. You shouldn’t have to worry about this URL in most cases.