JavaScript Example

Documentation article about JavaScript Example

·1 min read·View Oracle Docs

JavaScript Example

JavaScript Example

json
1{
2 "gulp": {
3 "javascript": [
4 "JavaScript/*.js"
5 ]
6 , "templates": [
7 "Templates/*.txt"
8 ]
9 , "ssp-libraries": [
10 "SuiteScript/*.js"
11 ]
12 , "services.new": [
13 "SuiteScript/*.Service.ss"
14 ]
15 }
16}

Frequently Asked Questions (4)

What types of files does the Gulp configuration handle in this JavaScript example?
The Gulp configuration handles JavaScript files located under 'JavaScript/*.js', template files in 'Templates/*.txt', library scripts in 'SuiteScript/*.js', and services scripts in 'SuiteScript/*.Service.ss'.
How are template files organized in this configuration?
Template files are organized under the 'Templates' directory with the file pattern 'Templates/*.txt'.
Does this example include configuration for any service scripts?
Yes, the example includes configuration for service scripts under the key 'services.new', which includes files matching the pattern 'SuiteScript/*.Service.ss'.
Are SSP library files managed in this configuration, and if so, how?
Yes, SSP library files are managed under the 'ssp-libraries' key, with the file pattern 'SuiteScript/*.js'.
Source: JavaScript Example Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in General

View all General articles →