Skip to content

Commit

Permalink
fix(base): add re-export of lit/directive.js (#3616)
Browse files Browse the repository at this point in the history
* fix(base): add re-export of lit/directive.js
  • Loading branch information
nickschaap authored and blunteshwar committed Sep 12, 2023
1 parent c6757c0 commit 18fe194
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/base/exports.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"./condition-attribute-with-id.js": "./src/condition-attribute-with-id.js",
"./decorators.js": "./src/decorators.js",
"./directives.js": "./src/directives.js",
"./directive.js": "./src/directive.js",
"./html.js": "./src/html.js",
"./streaming-listener.js": "./src/streaming-listener.js"
}
8 changes: 8 additions & 0 deletions tools/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
"development": "./src/define-element.dev.js",
"default": "./src/define-element.js"
},
"./src/directive.js": {
"development": "./src/directive.dev.js",
"default": "./src/directive.js"
},
"./src/directives.js": {
"development": "./src/directives.dev.js",
"default": "./src/directives.js"
Expand Down Expand Up @@ -73,6 +77,10 @@
"development": "./directives.dev.js",
"default": "./directives.js"
},
"./directive.js": {
"development": "./directive.dev.js",
"default": "./directive.js"
},
"./html.js": {
"development": "./html.dev.js",
"default": "./html.js"
Expand Down
13 changes: 13 additions & 0 deletions tools/base/src/directive.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
Copyright 2020 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

export * from 'lit/directive.js';

0 comments on commit 18fe194

Please sign in to comment.