onelaraveljs 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -16,3 +16,5 @@ export {
16
16
 
17
17
  // Default export
18
18
  export default App;
19
+
20
+ export { default as ViewRegistryPlugin } from './src/plugins/ViewRegistryPlugin.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "onelaraveljs",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "OneLaravel JS Framework Core & Compiler",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -13,7 +13,7 @@ import { fileURLToPath } from 'url';
13
13
  const __filename = fileURLToPath(import.meta.url);
14
14
  const __dirname = path.dirname(__filename);
15
15
 
16
- class ViewRegistryPlugin {
16
+ export class ViewRegistryPlugin {
17
17
  constructor(options = {}) {
18
18
  // Use process.cwd() to default to the project root, making this plugin portable
19
19
  this.viewsDir = options.viewsDir || path.resolve(process.cwd(), 'resources/js/views');