Wrong content when creating Service Web Component

Issue #1238 resolved
Loeng Chen created an issue

When I create a new Service Web Component, the content of the JS file is not correct. The snippet of the JS file shows that a html component is created, exendending the LightningElement class, which is not correct. Currently the content of the JS file looks like the following

import { LightningElement } from 'lwc';

export default class MyUtils extends LightningElement {


I would expect the following content instead:

class MyUtils {

export { MyUtils }


Comments (1)

  1. Log in to comment